-
Notifications
You must be signed in to change notification settings - Fork 618
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
Regression in neard testnet
behavior
#4569
Comments
This looks like an unexpected change in the |
@miraclx Can you, please, identify what introduced the change to |
It's caused by https://github.com/near/nearcore/pull/4356/files Before the change, default value of |
fixes #4464 fixes #4569 Test plan: verify the genesis config generated is the same as 1.19.2 ``` $ nearcore-1 git:(ebc1e0a) diff /Users/minzhang/.near-1.19.2/test0/genesis.json /Users/minzhang/.near-now/test0/genesis.json 2,4c2,4 < "protocol_version": 45, < "genesis_time": "2021-08-18T15:45:26.235826Z", < "chain_id": "test-chain-WLJhS", --- > "protocol_version": 47, > "genesis_time": "2021-08-18T15:40:31.252129Z", > "chain_id": "test-chain-b25OT", 156a157,159 > "ripemd160_base": 853675086, > "ripemd160_block": 680107584, > "ecrecover_base": 3365369625000, 205a209 > "max_transaction_size": 4194304, 242a247 > "simple_nightshade_shard_config": null, 251c256,257 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 272c278,279 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 293c300,301 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1"```
fixes #4464 fixes #4569 Test plan: verify the genesis config generated is the same as 1.19.2 ``` $ nearcore-1 git:(ebc1e0a) diff /Users/minzhang/.near-1.19.2/test0/genesis.json /Users/minzhang/.near-now/test0/genesis.json 2,4c2,4 < "protocol_version": 45, < "genesis_time": "2021-08-18T15:45:26.235826Z", < "chain_id": "test-chain-WLJhS", --- > "protocol_version": 47, > "genesis_time": "2021-08-18T15:40:31.252129Z", > "chain_id": "test-chain-b25OT", 156a157,159 > "ripemd160_base": 853675086, > "ripemd160_block": 680107584, > "ecrecover_base": 3365369625000, 205a209 > "max_transaction_size": 4194304, 242a247 > "simple_nightshade_shard_config": null, 251c256,257 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 272c278,279 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 293c300,301 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1"```
fixes #4464 fixes #4569 Test plan: verify the genesis config generated is the same as 1.19.2 ``` $ nearcore-1 git:(ebc1e0a) diff /Users/minzhang/.near-1.19.2/test0/genesis.json /Users/minzhang/.near-now/test0/genesis.json 2,4c2,4 < "protocol_version": 45, < "genesis_time": "2021-08-18T15:45:26.235826Z", < "chain_id": "test-chain-WLJhS", --- > "protocol_version": 47, > "genesis_time": "2021-08-18T15:40:31.252129Z", > "chain_id": "test-chain-b25OT", 156a157,159 > "ripemd160_base": 853675086, > "ripemd160_block": 680107584, > "ecrecover_base": 3365369625000, 205a209 > "max_transaction_size": 4194304, 242a247 > "simple_nightshade_shard_config": null, 251c256,257 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 272c278,279 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 293c300,301 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1"```
fixes #4464 fixes #4569 Test plan: verify the genesis config generated is the same as 1.19.2 ``` $ nearcore-1 git:(ebc1e0a) diff /Users/minzhang/.near-1.19.2/test0/genesis.json /Users/minzhang/.near-now/test0/genesis.json 2,4c2,4 < "protocol_version": 45, < "genesis_time": "2021-08-18T15:45:26.235826Z", < "chain_id": "test-chain-WLJhS", --- > "protocol_version": 47, > "genesis_time": "2021-08-18T15:40:31.252129Z", > "chain_id": "test-chain-b25OT", 156a157,159 > "ripemd160_base": 853675086, > "ripemd160_block": 680107584, > "ecrecover_base": 3365369625000, 205a209 > "max_transaction_size": 4194304, 242a247 > "simple_nightshade_shard_config": null, 251c256,257 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 272c278,279 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 293c300,301 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1"```
fixes #4464 fixes #4569 Test plan: verify the genesis config generated is the same as 1.19.2 ``` $ nearcore-1 git:(ebc1e0a) diff /Users/minzhang/.near-1.19.2/test0/genesis.json /Users/minzhang/.near-now/test0/genesis.json 2,4c2,4 < "protocol_version": 45, < "genesis_time": "2021-08-18T15:45:26.235826Z", < "chain_id": "test-chain-WLJhS", --- > "protocol_version": 47, > "genesis_time": "2021-08-18T15:40:31.252129Z", > "chain_id": "test-chain-b25OT", 156a157,159 > "ripemd160_base": 853675086, > "ripemd160_block": 680107584, > "ecrecover_base": 3365369625000, 205a209 > "max_transaction_size": 4194304, 242a247 > "simple_nightshade_shard_config": null, 251c256,257 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 272c278,279 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1" 293c300,301 < "storage_usage": 0 --- > "storage_usage": 0, > "version": "V1"```
Describe the bug
There is a regression in the default behavior of
testnet
neard subcommand between 1.19.2 and 1.20.0, which caused nayduck tests to fail: #4464 (comment). Initializing a new cluster of localnet nodes for testing now has the following values:Full genesis.json diffs:
To Reproduce
Expected behavior
I am not sure if that is expected, and what exactly the cause for that.
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: