Skip to content

cast run fails on some transactions #3038

@DrZoltanFazekas

Description

@DrZoltanFazekas

It works on some and does not work on other transactions from the same sender (both transactions were successful).

For instance, it works on this one:

cast run 0x9b72f1ee06e745e58b6f9e44355cf8a4ce240ff25018d8e8d173f7bc687578b4 --rpc-url https://api.zilliqa.com -vvvv
Executing previous transactions from the block.
Traces:
  [101588] 0xF35E17333Bd4AD7b11e18f750AFbccE14e4101b7::withdrawAllRewards()
    ├─ [96781] 0x8C403e6a7C03Fa156c5001C8ebbbe751d4ce5af3::withdrawAllRewards() [delegatecall]
    │   ├─ [0] 0xe0091f59C5b9a3D2a6d48A78A67D4E313a95B730::fallback{value: 121753282899496531369}()
    │   │   └─ ← [Stop]
    │   ├─ emit RewardPaid(param0: 0xe0091f59C5b9a3D2a6d48A78A67D4E313a95B730, param1: 121753282899496531369 [1.217e20])
    │   └─ ← [Return] 0x00000000000000000000000000000000000000000000000699aa8db87621f5a9
    └─ ← [Return] 0x00000000000000000000000000000000000000000000000699aa8db87621f5a9


Transaction successfully executed.
Gas used: 102752

But it does not work on this one:

cast run 0x109167d0f8d26c84bfdf53181309d7702ed61b27e844fabb711b386bbe4ad72b --rpc-url https://api.zilliqa.com -vvvv
Executing previous transactions from the block.
Error: EVM error; transaction validation error: lack of funds (0) for max fee (400000003200000000000)

The max fee in the error message is the block limit * gas price, but the balance of the sender account is higher than that.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions