diff --git a/cmd/abi/native_abi_script/governance.json b/cmd/abi/native_abi_script/governance.json index e3b8725af9..ea5c04dd01 100644 --- a/cmd/abi/native_abi_script/governance.json +++ b/cmd/abi/native_abi_script/governance.json @@ -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": @@ -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": [ ] -} +} \ No newline at end of file diff --git a/common/constants/constants.go b/common/constants/constants.go index 87356efbb7..b26bdb4b80 100644 --- a/common/constants/constants.go +++ b/common/constants/constants.go @@ -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