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

[iip-13] set mainnet contract address and height #3894

Merged
merged 1 commit into from
Jul 1, 2023
Merged
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
5 changes: 2 additions & 3 deletions blockchain/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ func defaultConfig() Genesis {
ProbationEpochPeriod: 6,
ProbationIntensityRate: 90,
UnproductiveDelegateMaxCacheSize: 20,
// TODO (iip-13): replace the following with the address and height on mainnet
SystemStakingContractAddress: "io1uw3gvmhrjz5mwxpd966wxxt6fn5uuvwfpynrwj",
SystemStakingContractHeight: 20386536,
SystemStakingContractAddress: "io1drde9f483guaetl3w3w6n6y7yv80f8fael7qme", // https://iotexscout.io/tx/8b899515d180d631abe8596b091380b0f42117122415393fa459c74c2bc5b6af
Copy link
Member

@Liuhaai Liuhaai Jun 30, 2023

Choose a reason for hiding this comment

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

a specific address of smart contract on default conf is strange for me. Will the address work if the new chain is setup locally to height 24486464

SystemStakingContractHeight: 24486464,
},
Rewarding: Rewarding{
InitBalanceStr: unit.ConvertIotxToRau(200000000).String(),
Expand Down