Node
1.5.6
Changed
- The node will recognise if a pending upgrade is unstaged and will avoid shutting down for upgrade in this case.
- If an upgrade with the same activation point as the current one is detected on startup, the node will immediately shut down for upgrade.
- Reduce chainspec setting
deploys.max_ttl
from 18 hours to 2 hours.
1.5.5
Added
- New chainspec setting
highway.performance_meter.blocks_to_consider
with a value of 10, meaning that nodes will take 10 most recent blocks into account when determining their performance in Highway for the purpose of choosing their round lengths.
Execution Engine
7.0.1
Changed
- Change the cost of
wasm.storage_costs.gas_per_byte
andshared::storage_costs::DEFAULT_GAS_PER_BYTE_COST
from630_000
to1_117_587
. - Change the cost of the host function
casper_add_associated_key
from9_000
to1_200_000
. - Change the cost of the argument
entry_points_size
of host functioncasper_add_contract_version
from0
to120_000
. - Change the cost of the host function
casper_blake2b
and its argumentin_size
from200
and0
respectively to1_200_000
to120_000
. - Change the cost of the host function
casper_call_contract
and its argumentsentry_point_name_size
andruntime_args_size
from4_500
,0
and420
respectively to300_000_000
,120_000
and120_000
. - Change the cost of the host function
casper_call_versioned_contract
and the argumentsentry_point_name_size
andruntime_args_size
from4_500
,0
and420
respectively to300_000_000
,120_000
and120_000
. - Change the cost of the host function
casper_get_balance
from3_800
to3_000_000
. - Change the cost of arguments
name_size
anddest_size
of host functioncasper_get_named_arg
from0
to120_000
. - Change the cost of the host function
casper_put_key
and its argumentsname_size
andkey_size
from38_000
,1_100
and0
respectively to100_000_000
,120_000
and120_000
. - Change the cost of the host function
casper_read_value
and its argumentkey_size
from6_000
and0
respectively to60_000
and120_000
. - Change the cost of the argument
urefs_size
of host functioncasper_remove_contract_user_group_urefs
from0
to120_000
. - Change the cost of the host function
casper_transfer_from_purse_to_purse
from82_000
to82_000_000
.
7.0.0
Added
- Add chainspec option
core.allow_unrestricted_transfers
that, if enabled, allows token transfers between any two peers. Disabling this option makes sense only for private chains. - Add chainspec option
core.allow_auction_bids
that, if enabled, allows auction entrypointsdelegate
andadd_bid
to operate. Disabling this option makes sense only for private chains. - Add chainspec option
core.compute_rewards
that, if enabled, computes rewards for each era. Disabling this option makes sense only for private chains. - Add chainspec option
core.refund_handling
that specifies how payment refunds are handled. - Add chainspec option
core.fee_handling
that specifes how transaction fees are handled. - Add chainspec option
core.administrators
that, if set, contains list of administrator accounts. This option makes sense only for private chains. - Add support for a new FFI function
enable_contract_version
for enabling a specific version of a contract.
Changed
current stack height
is written tostderr
in caseTrap(Unreachable)
error is encountered during Wasm execution.- Tweak upgrade logic transforming withdraw purses to early exit if possible.
- Lower the default gas costs of opcodes.
- Set the cost for branching opcodes to 35,000 (
br
,br_if
,br_table
). - Set the cost for call opcodes to 68,000 (
call
,call_indirect
).
- Set the cost for branching opcodes to 35,000 (
- Default value for round seigniorage rate is halved to
7/175070816
due to reduction in block times, to maintain current seigniorage rate (per unit of time). - Refund ratio is changed from 0% to 99%.