conflux-rust icon indicating copy to clipboard operation
conflux-rust copied to clipboard

RPC cfx_estimateGasAndCollateral should return storage limit that won't fail

Open boqiu opened this issue 4 years ago • 1 comments

Sometimes, the cfx_estimateGasAndCollateral returned storage limit is not enough for the transaction execution. Per @ChenxingLi , it's an EVM issue that required storage is estimation * 64 / 63

boqiu avatar Nov 05 '20 09:11 boqiu

This RPC method seems has another issue, when a contract deploy transaction send, if the from field specified(nonce not specified) it will return an address conflict error, seems it use a default nonce 0, i think should use account's current nonce

Pana avatar Nov 10 '20 08:11 Pana