Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

spec for opcode COINBASE#83

Merged
han0110 merged 10 commits into
privacy-ethereum:masterfrom
scroll-tech:coinbase
Jan 12, 2022
Merged

spec for opcode COINBASE#83
han0110 merged 10 commits into
privacy-ethereum:masterfrom
scroll-tech:coinbase

Conversation

@scroll-dev
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

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

LGTM, added some nitpicks

Comment thread specs/opcode/41COINBASE.md Outdated
Comment thread tests/evm/test_coinbase.py Outdated
gas_limit: U64
block_number: U256
time: U256
time: U64
Copy link
Copy Markdown
Contributor

@han0110 han0110 Jan 5, 2022

Choose a reason for hiding this comment

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

Using u64 makes more sense after I saw the actual date of the max uint64 as unix time. Would you mind update the table_assignments of it to use raw value self.time instead of random liinear combination? (in line 45)

Let's discuss how they should exist in table in the #75 thread.

Comment thread src/zkevm_specs/evm/execution/block_coinbase.py
Comment thread src/zkevm_specs/evm/execution/__init__.py
Co-authored-by: Chih Cheng Liang <chihchengliang@gmail.com>
@CPerezz
Copy link
Copy Markdown
Contributor

CPerezz commented Jan 10, 2022

Should we merge this @han0110 ?

Comment thread tests/evm/test_coinbase.py Outdated
Comment thread src/zkevm_specs/evm/execution/block_coinbase.py Outdated
@han0110 han0110 merged commit 2fd3a29 into privacy-ethereum:master Jan 12, 2022
@ed255 ed255 mentioned this pull request Jan 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants