Skip to content

Commit

Permalink
update height and abi file (#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
siovanus authored and laizy committed Aug 6, 2020
1 parent 5aebc29 commit b7e5554
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 31 deletions.
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

0 comments on commit b7e5554

Please sign in to comment.