Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.6.10 dev config #5811

Merged
merged 7 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions cmd/node/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -694,19 +694,17 @@
TimeOutForSCExecutionInMilliseconds = 10000 # 10 seconds = 10000 milliseconds
WasmerSIGSEGVPassthrough = false # must be false for release
WasmVMVersions = [
{ StartEpoch = 0, Version = "v1.3" },
{ StartEpoch = 1, Version = "v1.4" },
{ StartEpoch = 3, Version = "v1.5" }, # TODO: set also the RoundActivations.DisableAsyncCallV1 accordingly
{ StartEpoch = 0, Version = "v1.4" },
{ StartEpoch = 1, Version = "v1.5" }, # TODO: set also the RoundActivations.DisableAsyncCallV1 accordingly
]

[VirtualMachine.Querying]
NumConcurrentVMs = 1
TimeOutForSCExecutionInMilliseconds = 10000 # 10 seconds = 10000 milliseconds
WasmerSIGSEGVPassthrough = false # must be false for release
WasmVMVersions = [
{ StartEpoch = 0, Version = "v1.3" },
{ StartEpoch = 1, Version = "v1.4" },
{ StartEpoch = 3, Version = "v1.5" }, # TODO: set also the RoundActivations.DisableAsyncCallV1 accordingly
{ StartEpoch = 0, Version = "v1.4" },
{ StartEpoch = 1, Version = "v1.5" }, # TODO: set also the RoundActivations.DisableAsyncCallV1 accordingly
]

[VirtualMachine.GasConfig]
Expand Down
29 changes: 14 additions & 15 deletions cmd/node/config/enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
ESDTEnableEpoch = 1

# GovernanceEnableEpoch represents the epoch when governance is enabled
GovernanceEnableEpoch = 5
GovernanceEnableEpoch = 1

# DelegationManagerEnableEpoch represents the epoch when the delegation manager is enabled
# epoch should not be 0
Expand Down Expand Up @@ -252,40 +252,40 @@
DeterministicSortOnValidatorsInfoEnableEpoch = 1

# SCProcessorV2EnableEpoch represents the epoch when SC processor V2 will be used
SCProcessorV2EnableEpoch = 3
SCProcessorV2EnableEpoch = 1

# AutoBalanceDataTriesEnableEpoch represents the epoch when the data tries are automatically balanced by inserting at the hashed key instead of the normal key
AutoBalanceDataTriesEnableEpoch = 3
AutoBalanceDataTriesEnableEpoch = 1

# KeepExecOrderOnCreatedSCRsEnableEpoch represents the epoch when the execution order of created SCRs is ensured
KeepExecOrderOnCreatedSCRsEnableEpoch = 3
KeepExecOrderOnCreatedSCRsEnableEpoch = 1

# MultiClaimOnDelegationEnableEpoch represents the epoch when the multi claim on delegation is enabled
MultiClaimOnDelegationEnableEpoch = 3
MultiClaimOnDelegationEnableEpoch = 1

# ChangeUsernameEnableEpoch represents the epoch when changing username is enabled
ChangeUsernameEnableEpoch = 3
ChangeUsernameEnableEpoch = 4

# ConsistentTokensValuesLengthCheckEnableEpoch represents the epoch when the consistent tokens values length check is enabled
ConsistentTokensValuesLengthCheckEnableEpoch = 3
ConsistentTokensValuesLengthCheckEnableEpoch = 1

# FixDelegationChangeOwnerOnAccountEnableEpoch represents the epoch when the fix for the delegation system smart contract is enabled
FixDelegationChangeOwnerOnAccountEnableEpoch = 3
FixDelegationChangeOwnerOnAccountEnableEpoch = 1

# DynamicGasCostForDataTrieStorageLoadEnableEpoch represents the epoch when dynamic gas cost for data trie storage load will be enabled
DynamicGasCostForDataTrieStorageLoadEnableEpoch = 3
DynamicGasCostForDataTrieStorageLoadEnableEpoch = 1

# ScToScLogEventEnableEpoch represents the epoch when the sc to sc log event feature is enabled
ScToScLogEventEnableEpoch = 3
ScToScLogEventEnableEpoch = 1

# NFTStopCreateEnableEpoch represents the epoch when NFT stop create feature is enabled
NFTStopCreateEnableEpoch = 3
NFTStopCreateEnableEpoch = 1

# ChangeOwnerAddressCrossShardThroughSCEnableEpoch represents the epoch when the change owner address built in function will work also through a smart contract call cross shard
ChangeOwnerAddressCrossShardThroughSCEnableEpoch = 3
ChangeOwnerAddressCrossShardThroughSCEnableEpoch = 1

# FixGasRemainingForSaveKeyValueBuiltinFunctionEnableEpoch represents the epoch when the fix for the remaining gas in the SaveKeyValue builtin function is enabled
FixGasRemainingForSaveKeyValueBuiltinFunctionEnableEpoch = 3
FixGasRemainingForSaveKeyValueBuiltinFunctionEnableEpoch = 1

# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
BLSMultiSignerEnableEpoch = [
Expand All @@ -302,6 +302,5 @@
[GasSchedule]
# GasScheduleByEpochs holds the configuration for the gas schedule that will be applied from specific epochs
GasScheduleByEpochs = [
{ StartEpoch = 0, FileName = "gasScheduleV1.toml" },
{ StartEpoch = 1, FileName = "gasScheduleV7.toml" },
{ StartEpoch = 0, FileName = "gasScheduleV7.toml" },
]
2 changes: 1 addition & 1 deletion cmd/node/config/enableRounds.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
[RoundActivations]
[RoundActivations.DisableAsyncCallV1]
Options = []
Round = "500"
Round = "100"
Binary file modified cmd/node/config/genesisContracts/dns.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion cmd/node/config/genesisSmartContracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"owner": "erd188anxz35atlef7cucszypmvx88lhz4m7a7t7lhcwt6sfphpsqlkswfhcx2",
"filename": "./config/genesisContracts/dns.wasm",
"vm-type": "0500",
"init-parameters": "056bc75e2d63100000",
"init-parameters": "00",
"type": "dns",
"version": "0.2.*"
}
Expand Down