提交 0d3dd7e8 编写于 作者: B Brian Johnson

Fixed abi not matching struct and fixed tests. GH #2257

上级 65cfa85f
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
"fields": [ "fields": [
{"name":"from", "type":"account_name"}, {"name":"from", "type":"account_name"},
{"name":"receiver", "type":"account_name"}, {"name":"receiver", "type":"account_name"},
{"name":"stake_net", "type":"asset"}, {"name":"stake_net_quantity", "type":"asset"},
{"name":"stake_cpu", "type":"asset"}, {"name":"stake_cpu_quantity", "type":"asset"},
{"name":"stake_storage", "type":"asset"} {"name":"stake_storage_quantity", "type":"asset"}
] ]
},{ },{
"name": "undelegatebw", "name": "undelegatebw",
...@@ -52,9 +52,9 @@ ...@@ -52,9 +52,9 @@
"fields": [ "fields": [
{"name":"from", "type":"account_name"}, {"name":"from", "type":"account_name"},
{"name":"receiver", "type":"account_name"}, {"name":"receiver", "type":"account_name"},
{"name":"unstake_net", "type":"asset"}, {"name":"unstake_net_quantity", "type":"asset"},
{"name":"unstake_cpu", "type":"asset"}, {"name":"unstake_cpu_quantity", "type":"asset"},
{"name":"unstake_bytes", "type":"uint64"} {"name":"unstake_storage_bytes", "type":"uint64"}
] ]
},{ },{
"name": "refund", "name": "refund",
......
...@@ -99,9 +99,9 @@ public: ...@@ -99,9 +99,9 @@ public:
return push_action( name(from), name(from), N(delegatebw), mvo() return push_action( name(from), name(from), N(delegatebw), mvo()
("from", from) ("from", from)
("receiver", to) ("receiver", to)
("stake_net", net) ("stake_net_quantity", net)
("stake_cpu", cpu) ("stake_cpu_quantity", cpu)
("stake_storage", storage) ("stake_storage_quantity", storage)
); );
} }
#if _READY #if _READY
......
...@@ -77,9 +77,9 @@ public: ...@@ -77,9 +77,9 @@ public:
return push_action( name(from), N(delegatebw), mvo() return push_action( name(from), N(delegatebw), mvo()
("from", from) ("from", from)
("receiver", to) ("receiver", to)
("stake_net", net) ("stake_net_quantity", net)
("stake_cpu", cpu) ("stake_cpu_quantity", cpu)
("stake_storage", storage) ("stake_storage_quantity", storage)
); );
} }
...@@ -91,9 +91,9 @@ public: ...@@ -91,9 +91,9 @@ public:
return push_action( name(from), N(undelegatebw), mvo() return push_action( name(from), N(undelegatebw), mvo()
("from", from) ("from", from)
("receiver", to) ("receiver", to)
("unstake_net", net) ("unstake_net_quantity", net)
("unstake_cpu", cpu) ("unstake_cpu_quantity", cpu)
("unstake_bytes", bytes) ("unstake_storage_bytes", bytes)
); );
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册