-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Labels
Description
Describe the bug
Not sure if it is a bug , but maybe we need to pay attention to it.
It is observed that ALL TXs signed by this user will consume large amounts of Gas .
To Reproduce
for example:
if the user owns only IRIS, one delegate TX consumes him 16000 gas.
if the user owns mays 30 kinds of assets, one delegate TX consumes him 107213 gas.
echo 1234567890 | iriscli stake delegate --address-validator=fva1gzkaggvw6gguendvq4tz0wn6hkkauynardljrm --amount=5iris --fee=0.004iris --commit --from=v1 --chain-id=shilei-qa --gas=150000 --fee=31iris
Committed at block 400 (tx hash: B62E04C42B370120D308A6E8DB8C8CCEE0584B0E7DAF49C5D5AFA4F606726D1A, response:
{
"code": 0,
"data": null,
"log": "Msg 0: ",
"info": "",
"gas_wanted": 150000,
"gas_used": 107213,
"codespace": "",
"tags": [
{
"key": "action",
"value": "delegate"
},
{
"key": "delegator",
"value": "faa1gzkaggvw6gguendvq4tz0wn6hkkauynaku4a7u"
},
{
"key": "destination-validator",
"value": "fva1gzkaggvw6gguendvq4tz0wn6hkkauynardljrm"
}
]
})Reactions are currently unavailable