Skip to content

Commit

Permalink
Release v1.8.0.0 - import db
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Sep 10, 2024
1 parent 381d80b commit 6f08f27
Show file tree
Hide file tree
Showing 15 changed files with 156 additions and 34 deletions.
3 changes: 3 additions & 0 deletions api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@

# /transaction/:txhash will return the transaction in JSON format based on its hash
{ Name = "/:txhash", Open = true },

# /transaction/scrs-by-tx-hash/:txhash will return the smart contract results generated by the provided transaction hash
{ Name = "/scrs-by-tx-hash/:txhash", Open = true },
]

[APIPackages.block]
Expand Down
2 changes: 1 addition & 1 deletion binaryVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tags/v1.7.13-patch2
tags/v1.8.0
9 changes: 9 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@
{ StartEpoch = 432, Version = "v1.4" },
{ StartEpoch = 1265, Version = "v1.5" },
]
TransferAndExecuteByUserAddresses = [ # TODO: set real contract addresses for all shards
"erd1qqqqqqqqqqqqqpgqr46jrxr6r2unaqh75ugd308dwx5vgnhwh47qtvepe3", #shard 0
]

[VirtualMachine.Querying]
NumConcurrentVMs = 1
Expand All @@ -688,6 +691,9 @@
{ StartEpoch = 432, Version = "v1.4" },
{ StartEpoch = 1265, Version = "v1.5" },
]
TransferAndExecuteByUserAddresses = [ # TODO: set real contract addresses for all shards
"erd1qqqqqqqqqqqqqpgqr46jrxr6r2unaqh75ugd308dwx5vgnhwh47qtvepe3",
]

[VirtualMachine.GasConfig]
# The following values define the maximum amount of gas to be allocated for VM Queries coming from API
Expand Down Expand Up @@ -943,3 +949,6 @@
# MaxRoundsOfInactivityAccepted defines the number of rounds missed by a main or higher level backup machine before
# the current machine will take over and propose/sign blocks. Used in both single-key and multi-key modes.
MaxRoundsOfInactivityAccepted = 3

[RelayedTransactionConfig]
MaxTransactionsAllowed = 50
24 changes: 24 additions & 0 deletions enableEpochs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,30 @@
# UseGasBoundedShouldFailExecutionEnableEpoch represents the epoch when use bounded gas function should fail execution in case of error
UseGasBoundedShouldFailExecutionEnableEpoch = 1843

# DynamicESDTEnableEpoch represents the epoch when dynamic NFT feature is enabled
DynamicESDTEnableEpoch = 9999999

# EGLDInMultiTransferEnableEpoch represents the epoch when EGLD in multitransfer is enabled
EGLDInMultiTransferEnableEpoch = 9999999

# CryptoOpcodesV2EnableEpoch represents the epoch when BLSMultiSig, Secp256r1 and other opcodes are enabled
CryptoOpcodesV2EnableEpoch = 9999999

# UnjailCleanupEnableEpoch represents the epoch when the cleanup of the unjailed nodes is enabled
UnJailCleanupEnableEpoch = 9999999

# RelayedTransactionsV3EnableEpoch represents the epoch when the relayed transactions V3 will be enabled
RelayedTransactionsV3EnableEpoch = 9999999

# FixRelayedBaseCostEnableEpoch represents the epoch when the fix for relayed base cost will be enabled
FixRelayedBaseCostEnableEpoch = 9999999

# MultiESDTNFTTransferAndExecuteByUserEnableEpoch represents the epoch when enshrined sovereign cross chain opcodes are enabled
MultiESDTNFTTransferAndExecuteByUserEnableEpoch = 9999999

# FixRelayedMoveBalanceToNonPayableSCEnableEpoch represents the epoch when the fix for relayed move balance to non payable sc will be enabled
FixRelayedMoveBalanceToNonPayableSCEnableEpoch = 9999999

# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
BLSMultiSignerEnableEpoch = [
{ EnableEpoch = 0, Type = "no-KOSK" },
Expand Down
7 changes: 7 additions & 0 deletions fullArchiveP2P.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
# RefreshIntervalInSec represents the time in seconds between querying for new peers
RefreshIntervalInSec = 10

# ProtocolIDs represents the protocols that this node will advertise to other peers
# To connect to other nodes, those nodes should have at least one common protocol string
ProtocolIDs = [
"/erd/kad/1.1.1",
"/mvx/mainnet-full-archive/1.0.0",
]

# ProtocolID represents the protocol that this node will advertize to other peers
# To connect to other nodes, those nodes should have the same ProtocolID string
ProtocolID = "/erd/kad/1.1.1"
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 500000
ESDTNFTUpdateAttributes = 500000
ESDTNFTMultiTransfer = 1000000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 500000
ESDTNFTUpdateAttributes = 500000
ESDTNFTMultiTransfer = 1000000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 500000
ESDTNFTUpdateAttributes = 500000
ESDTNFTMultiTransfer = 1000000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 50000
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
GetOriginalTxHash = 10000
GetPrevTxHash = 10000
GetCurrentTxHash = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV5.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 50000
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV6.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
ESDTNFTAddUri = 50000
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -104,9 +109,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -206,6 +212,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV7.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
MultiESDTNFTTransfer = 200000 # should be the same value with the ESDTNFTMultiTransfer
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -105,9 +110,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -207,6 +213,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
15 changes: 12 additions & 3 deletions gasSchedules/gasScheduleV8.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
ESDTNFTUpdateAttributes = 50000
ESDTNFTMultiTransfer = 200000
MultiESDTNFTTransfer = 200000 # should be the same value with the ESDTNFTMultiTransfer
ESDTModifyRoyalties = 500000
ESDTModifyCreator = 500000
ESDTNFTRecreate = 1000000
ESDTNFTUpdate = 1000000
ESDTNFTSetNewURIs = 500000
SetGuardian = 250000
GuardAccount = 250000
UnGuardAccount = 250000
Expand Down Expand Up @@ -105,9 +110,10 @@
SetAsyncCallback = 100000
SetAsyncGroupCallback = 100000
SetAsyncContextCallback = 100000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -207,6 +213,9 @@
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
9 changes: 6 additions & 3 deletions p2p.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,12 @@
# RefreshIntervalInSec represents the time in seconds between querying for new peers
RefreshIntervalInSec = 10

# ProtocolID represents the protocol that this node will advertize to other peers
# To connect to other nodes, those nodes should have the same ProtocolID string
ProtocolID = "/erd/kad/1.1.0"
# ProtocolIDs represents the protocols that this node will advertise to other peers
# To connect to other nodes, those nodes should have at least one common protocol string
ProtocolIDs = [
"/erd/kad/1.1.0",
"/mvx/mainnet-main/1.0.0",
]

# InitialPeerList represents the list of strings of some known nodes that will bootstrap this node
# The address will be in a self-describing addressing format.
Expand Down
Loading

0 comments on commit 6f08f27

Please sign in to comment.