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

Release v1 7 18.0 #211

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
rc/v1.7.next1
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 = 999999

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

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

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

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

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

# 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 = 999999

# BLSMultiSignerEnableEpoch represents the activation epoch for different types of BLS multi-signers
BLSMultiSignerEnableEpoch = [
{ EnableEpoch = 0, Type = "no-KOSK" },
Expand Down
57 changes: 30 additions & 27 deletions full-archive-seeders/p2p.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#P2P config file
# P2P config file

#NodeConfig holds the P2P settings
# NodeConfig holds the P2P settings
[Node]
#Port is the port that will be opened by the node on all interfaces so other peers can connect to it
#Can use single values such as 0, 10230, 15670 or a range such as 5000-10000
# Port is the port that will be opened by the node on all interfaces so other peers can connect to it
# Can use single values such as 0, 10230, 15670 or a range such as 5000-10000
Port = "10000"

# The maximum peers that will connect to this node
MaximumExpectedPeerCount = 1024

#ThresholdMinConnectedPeers can be any value when used in conjunction with a seednode because the seednode does
#not have a sync and consensus mechanism. Default is 0.
# ThresholdMinConnectedPeers can be any value when used in conjunction with a seednode because the seednode does
# not have a sync and consensus mechanism. Default is 0.
ThresholdMinConnectedPeers = 0

# available transports. All defined addresses contains a single '%d' markup that is mandatory and will
Expand All @@ -29,46 +29,49 @@

# P2P peer discovery section

#The following sections correspond to the way new peers will be discovered
#If all config types are disabled then the peer will run in single mode (will not try to find other peers)
#If more than one peer discovery mechanism is enabled, the application will output an error and will not start
# The following sections correspond to the way new peers will be discovered
# If all config types are disabled then the peer will run in single mode (will not try to find other peers)
# If more than one peer discovery mechanism is enabled, the application will output an error and will not start

[KadDhtPeerDiscovery]
#Enabled: true/false to enable/disable this discovery mechanism
# Enabled: true/false to enable/disable this discovery mechanism
Enabled = true

#Type represents the kad-dht glue code implementation.
#"legacy" will define the first implementation.
#"optimized" represents the new variant able to connect to multiple seeders at once. This implementation also has
#a built-in timer that will try to automatically reconnect to the seeders (in case the seeders recover after a
#premature shutdown)
# Type represents the kad-dht glue code implementation.
# "legacy" will define the first implementation.
# "optimized" represents the new variant able to connect to multiple seeders at once. This implementation also has
# a built-in timer that will try to automatically reconnect to the seeders (in case the seeders recover after a
# premature shutdown)
Type = "optimized"

#RefreshIntervalInSec represents the time in seconds between querying for new peers
# 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.1"
# 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-full-archive/1.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"/erd/kad/1.1.0",
"/erd/kad/1.1.1",

]

#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.
#More can be found here: https://github.com/libp2p/specs/blob/master/3-requirements.md#34-transport-agnostic
#Example:
# 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.
# More can be found here: https://github.com/libp2p/specs/blob/master/3-requirements.md#34-transport-agnostic
# Example:
# /ip6/fe80::8823:6dff:fee7:f172/tcp/4001/p2p/QmYJyUMAcXEw1b5bFfbBbzYu5wyyjLMRHXGUkCXpag74Fu
# /ip4/162.246.145.218/udp/4001/utp/ipfs/QmYJyUMAcXEw1b5bFfbBbzYu5wyyjLMRHXGUkCXpag74Fu
#
#If the initial peers list is left empty, the node will not try to connect to other peers during initial bootstrap
#phase but will accept connections and will do the network discovery if another peer connects to it
# If the initial peers list is left empty, the node will not try to connect to other peers during initial bootstrap
# phase but will accept connections and will do the network discovery if another peer connects to it
InitialPeerList = [
"/ip4/165.232.64.220/tcp/10000/p2p/16Uiu2HAmKQXErKFi5EZfi48BKFELtU4ZQ5Y2bCUpU6b1Uo4Kqq62",
"/ip4/209.151.153.149/tcp/10000/p2p/16Uiu2HAmLx7mvtm35FmiDU7pUaHCDPk9LmGange7FFDsahskiDhY",
]

#kademlia's routing table bucket size
# kademlia's routing table bucket size
BucketSize = 100

#RoutingTableRefreshIntervalInSec defines how many seconds should pass between 2 kad routing table auto refresh calls
# RoutingTableRefreshIntervalInSec defines how many seconds should pass between 2 kad routing table auto refresh calls
RoutingTableRefreshIntervalInSec = 300

[Sharding]
Expand Down
9 changes: 6 additions & 3 deletions fullArchiveP2P.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.1"
# 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",
]

# 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
9 changes: 9 additions & 0 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 @@ -107,6 +112,7 @@
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
43 changes: 26 additions & 17 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 @@ -107,6 +112,7 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000
IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
Expand Down Expand Up @@ -189,23 +195,26 @@
CopyPerByteForTooBig = 1000

[CryptoAPICost]
SHA256 = 1000000
Keccak256 = 1000000
Ripemd160 = 1000000
VerifyBLS = 5000000
VerifyEd25519 = 2000000
VerifySecp256k1 = 2000000
EllipticCurveNew = 10000
AddECC = 75000
DoubleECC = 65000
IsOnCurveECC = 10000
ScalarMultECC = 400000
MarshalECC = 13000
MarshalCompressedECC = 15000
UnmarshalECC = 20000
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
SHA256 = 1000000
Keccak256 = 1000000
Ripemd160 = 1000000
VerifyBLS = 5000000
VerifyEd25519 = 2000000
VerifySecp256k1 = 2000000
EllipticCurveNew = 10000
AddECC = 75000
DoubleECC = 65000
IsOnCurveECC = 10000
ScalarMultECC = 400000
MarshalECC = 13000
MarshalCompressedECC = 15000
UnmarshalECC = 20000
UnmarshalCompressedECC = 270000
GenerateKeyECC = 7000000
EncodeDERSig = 10000000
VerifySecp256r1 = 2000000
VerifyBLSSignatureShare = 2000000
VerifyBLSMultiSig = 2000000

[ManagedBufferAPICost]
MBufferNew = 2000
Expand Down
11 changes: 10 additions & 1 deletion 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 @@ -107,7 +112,8 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000

IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
GetAddress = 100000
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
11 changes: 10 additions & 1 deletion 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 @@ -107,7 +112,8 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000

IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
GetAddress = 100000
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
11 changes: 10 additions & 1 deletion 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 @@ -107,7 +112,8 @@
GetCallbackClosure = 10000
GetCodeMetadata = 10000
IsBuiltinFunction = 10000

IsReservedFunctionName = 10000

[EthAPICost]
UseGas = 100
GetAddress = 100000
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
Loading
Loading