You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm understanding correctly, solidity currently has support for the new BLOBHASH opcode, and can read from this and can call this opcode with blobhash yul.
However, it's not clear to me if I can send a type 3 transaction with blob data from solidity. Something like the following:
Mainly for foundry scripting this would be helpful. I can see a world where it doesn't make sense to support at the solidity level... Thinking about it more, it starting to make less sense to me, but wanted to make an issue anyways to verify this wouldn't be something the solidity language would support.
I can see why this would be a bit silly, because the purpose of blobs is to not have the data on-chain, but putting it into the contract would redundantly place the data on-chain.
I can see a world where this isn't supported in solidity but only used as a cheatcode in foundry.
Backwards Compatibility
Since this is additive I don't think it would have an effect on anything prior.
The text was updated successfully, but these errors were encountered:
Abstract
If I'm understanding correctly, solidity currently has support for the new
BLOBHASH
opcode, and can read from this and can call this opcode withblobhash
yul.However, it's not clear to me if I can send a type 3 transaction with blob data from solidity. Something like the following:
Motivation
Mainly for foundry scripting this would be helpful. I can see a world where it doesn't make sense to support at the solidity level... Thinking about it more, it starting to make less sense to me, but wanted to make an issue anyways to verify this wouldn't be something the solidity language would support.
Specification
EIP specification:
Perhaps adding some functionality like the following would work.
I can see why this would be a bit silly, because the purpose of blobs is to not have the data on-chain, but putting it into the contract would redundantly place the data on-chain.
I can see a world where this isn't supported in solidity but only used as a cheatcode in foundry.
Backwards Compatibility
Since this is additive I don't think it would have an effect on anything prior.
The text was updated successfully, but these errors were encountered: