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

update height and abi file #1269

Merged
merged 1 commit into from
Aug 6, 2020
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
54 changes: 24 additions & 30 deletions cmd/abi/native_abi_script/governance.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,29 @@
],
"returnType":"Bool"
},
{
"name":"setFeePercentage",
"parameters":
[
{
"name":"PeerPubkey",
"type":"String"
},
{
"name":"Address",
"type":"Address"
},
{
"name":"PeerCost",
"type":"Int"
},
{
"name":"StakeCost",
"type":"Int"
}
],
"returnType":"Bool"
},
{
"name":"withdrawFee",
"parameters":
Expand Down Expand Up @@ -556,38 +579,9 @@
}
],
"returnType":"Bool"
},
{
"name":"getPeerPool",
"parameters":
[
],
"returnType":"ByteArray"
},
{
"name":"getPeerInfo",
"parameters":
[
{
"name":"PeerPublicKey",
"type":"String"
}
],
"returnType":"ByteArray"
},
{
"name":"getPeerPoolByAddress",
"parameters":
[
{
"name":"Address",
"type":"Address"
}
],
"returnType":"ByteArray"
}
],
"events":
[
]
}
}
2 changes: 1 addition & 1 deletion common/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ const BLOCKHEIGHT_CC_POLARIS = 13130000

//new node cost height
const BLOCKHEIGHT_NEW_PEER_COST_MAINNET = 9400000
const BLOCKHEIGHT_NEW_PEER_COST_POLARIS = 13360000
const BLOCKHEIGHT_NEW_PEER_COST_POLARIS = 13440000