Skip to content

Use 4-byte selector for Internal Transactions#681

Merged
edfelten merged 4 commits intoautomatic-l1-gas-pricingfrom
remove-internaltx-subtype
Jun 10, 2022
Merged

Use 4-byte selector for Internal Transactions#681
edfelten merged 4 commits intoautomatic-l1-gas-pricingfrom
remove-internaltx-subtype

Conversation

@rachel-bousfield
Copy link
Contributor

@rachel-bousfield rachel-bousfield commented Jun 9, 2022

Uses the 4-byte method selector now that we've decided ArbitrumInternalTx's always have abi-encoded data

Associated PRs

@cla-bot cla-bot bot added the cla-signed label Jun 9, 2022
Copy link
Contributor

@edfelten edfelten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One possible issue.


var AddressAliasOffset *big.Int
var InverseAddressAliasOffset *big.Int
var InternalTxStartBlockMethodID [4]byte
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are these initialized?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are initialized when installing the ArbosActs precompile in precompiles.go

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, I mistakenly duplicated these

Copy link
Contributor

@edfelten edfelten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for fixing.

@edfelten edfelten merged commit edd1c1d into automatic-l1-gas-pricing Jun 10, 2022
@edfelten edfelten deleted the remove-internaltx-subtype branch June 10, 2022 14:10
tsahee pushed a commit that referenced this pull request Jul 29, 2025
Co-authored-by: Pepper Lebeck-Jobe <pepper@offchainlabs.com>
tsahee pushed a commit that referenced this pull request Jul 29, 2025
Follow up to #681 , this PR adds support for virtual, Merkle inclusion proofs for the optimized implementation.

Co-authored-by: Pepper Lebeck-Jobe <pepper@offchainlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants