foundry icon indicating copy to clipboard operation
foundry copied to clipboard

bug: `vm.attachBlob` will probably stop working

Open StackOverflowExcept1on opened this issue 2 months ago • 3 comments

Component

Forge

Have you ensured that all of these are up to date?

  • [x] Foundry
  • [ ] Foundryup

What version of Foundry are you on?

1.4.3

What version of Foundryup are you on?

1.3.0

What command(s) is the bug in?

forge script

Operating System

Linux

Describe the bug

Since we're currently using an older version of alloy, it probably won't work on testnet like Hoodi

StackOverflowExcept1on avatar Oct 29 '25 13:10 StackOverflowExcept1on

@StackOverflowExcept1on thanks, can you detail a little bit more the problem here?

grandizzy avatar Oct 30 '25 13:10 grandizzy

@grandizzy alloy::consensus::SidecarBuilder::build() return BlobTransactionSidecar (https://docs.rs/alloy/latest/alloy/consensus/struct.SidecarBuilder.html#method.build) https://github.com/foundry-rs/foundry/blob/63010f4bd0a9a97cbba515bde44619196f4b2dfd/crates/cheatcodes/src/script.rs#L231

We should probably make it possible to specify which EIP to use after merge of https://github.com/alloy-rs/alloy/pull/3067.

StackOverflowExcept1on avatar Oct 30 '25 13:10 StackOverflowExcept1on

it will continue to work for a bit, because will force convert this after osaka,

but def something we can switch once osaka is active

mattsse avatar Oct 30 '25 14:10 mattsse