We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d357940 commit 318b8b7Copy full SHA for 318b8b7
category/rpc/eth_call.cpp
@@ -298,6 +298,7 @@ void set_override_balance(
298
MONAD_ASSERT(m->override_sets.find(address) != m->override_sets.end());
299
300
MONAD_ASSERT(balance);
301
+ MONAD_ASSERT(balance_len == sizeof(uint256_t));
302
byte_string const b{balance, balance + balance_len};
303
m->override_sets[address].balance = std::move(b);
304
}
0 commit comments