mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-27 14:57:58 +00:00
Fix calldata construction of single calldata
This commit is contained in:
@@ -136,8 +136,8 @@ impl Calldata {
|
||||
chain_state_provider: &impl EthereumNode,
|
||||
) -> anyhow::Result<()> {
|
||||
match self {
|
||||
Calldata::Single(string) => {
|
||||
alloy::hex::decode_to_slice(string, buffer)?;
|
||||
Calldata::Single(bytes) => {
|
||||
buffer.extend_from_slice(bytes);
|
||||
}
|
||||
Calldata::Compound(items) => {
|
||||
for (arg_idx, arg) in items.iter().enumerate() {
|
||||
|
||||
Reference in New Issue
Block a user