Skip to content

Conversation

@chriseth
Copy link
Contributor

No description provided.

@chriseth chriseth requested a review from leonardoalt August 11, 2021 10:19
@chriseth
Copy link
Contributor Author

Not important for the release.

leonardoalt
leonardoalt previously approved these changes Aug 11, 2021
Copy link

@leonardoalt leonardoalt left a comment

Choose a reason for hiding this comment

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

Nice!

@leonardoalt
Copy link

Tests need update

@leonardoalt
Copy link

I'll fix the tests

@leonardoalt leonardoalt force-pushed the someMoreBaseFees branch 2 times, most recently from 740b9ef to 389b969 Compare August 12, 2021 14:40
@chriseth
Copy link
Contributor Author

@leonardoalt can you explain why there are so many test updates needed in tests that do not even use basefee?

(declare-fun |state_0| () |state_type|)
(declare-datatypes ((|bytes_tuple| 0)) (((|bytes_tuple| (|bytes_tuple_accessor_array| (Array Int Int)) (|bytes_tuple_accessor_length| Int)))))
(declare-datatypes ((|tx_type| 0)) (((|tx_type| (|block.chainid| Int) (|block.coinbase| Int) (|block.difficulty| Int) (|block.gaslimit| Int) (|block.number| Int) (|block.timestamp| Int) (|blockhash| (Array Int Int)) (|msg.data| |bytes_tuple|) (|msg.sender| Int) (|msg.sig| Int) (|msg.value| Int) (|tx.gasprice| Int) (|tx.origin| Int)))))
(declare-datatypes ((|tx_type| 0)) (((|tx_type| (|block.basefee| Int) (|block.chainid| Int) (|block.coinbase| Int) (|block.difficulty| Int) (|block.gaslimit| Int) (|block.number| Int) (|block.timestamp| Int) (|blockhash| (Array Int Int)) (|msg.data| |bytes_tuple|) (|msg.sender| Int) (|msg.sig| Int) (|msg.value| Int) (|tx.gasprice| Int) (|tx.origin| Int)))))

Choose a reason for hiding this comment

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

@chriseth because of this

Copy link

@leonardoalt leonardoalt Aug 12, 2021

Choose a reason for hiding this comment

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

you added basefee as a transaction variable in the SMT encoding, this effectively changes every single SMT query. When the query changes syntactically, 1) the result proved/unproved might change 2) the counterexamples might change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah ok!

@chriseth chriseth merged commit fe0d027 into develop Aug 12, 2021
@chriseth chriseth deleted the someMoreBaseFees branch August 12, 2021 17:48
@cameel cameel mentioned this pull request Jan 11, 2024
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.

3 participants