Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Follow EIP1559 to calculate correct transaction gas price #76

Conversation

han0110
Copy link
Collaborator

@han0110 han0110 commented Dec 8, 2021

This PR aims to add the missing block constant functionality of Instruction and implement EIP1559 on BeginTx.

Currently the block constant can be used directly, just like using the copy constraint in halo2. But the opcode BLOCKHASH requires to access up to previous 256 block hashes, which would be expensive to copy 256 value at each step. See more discussion on #75.

@han0110 han0110 marked this pull request as draft December 8, 2021 14:44
@han0110
Copy link
Collaborator Author

han0110 commented Dec 8, 2021

Close in favor of #77

@han0110 han0110 closed this Dec 8, 2021
@han0110 han0110 deleted the feature/support-eip1559 branch December 16, 2021 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant