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

EIP-2930: Access List Transactions #1712

Merged
merged 128 commits into from
Feb 1, 2021
Merged
Changes from 1 commit
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
26cea0e
first pass at removing AcceptedTypes
RatanRSur Dec 12, 2020
2f4929a
add transaction type stuff to transaction
RatanRSur Dec 12, 2020
ffcc704
rlp decoder/encoder changes
RatanRSur Dec 12, 2020
64d92be
mainly test changes
RatanRSur Dec 12, 2020
f3496bb
spotless
RatanRSur Dec 12, 2020
ecc4957
fix tests
RatanRSur Dec 13, 2020
7e88e78
better error message and fix integration test
RatanRSur Dec 13, 2020
1d8292c
spotless
RatanRSur Dec 13, 2020
fff211d
actually fix integration test this time
RatanRSur Dec 13, 2020
9983c7e
some acceptance test fixes
RatanRSur Dec 14, 2020
461352e
Merge branch 'master' of github.com:hyperledger/besu into eip-1559-tr…
RatanRSur Dec 14, 2020
3a37559
bring over some eip-2930 stuff
RatanRSur Dec 14, 2020
9833a38
access list class
RatanRSur Dec 10, 2020
08d6eae
bring accesListSigningMessage over
RatanRSur Dec 14, 2020
5e9b036
get to the point where the signature fails
RatanRSur Dec 14, 2020
bc4bc16
Merge branch 'master' of github.com:hyperledger/besu into eip-2930-ta…
RatanRSur Dec 14, 2020
118b1f7
remove get
RatanRSur Dec 14, 2020
5939829
signature encoding/decoding
RatanRSur Dec 14, 2020
adaf71f
plugin-hash and spotless
RatanRSur Dec 14, 2020
b92914b
wire access list through to message frame and calculate gas costs
RatanRSur Dec 14, 2020
505f3fe
remove todo
RatanRSur Dec 14, 2020
45e7358
enable support for access lists in berlin
RatanRSur Dec 14, 2020
41391bc
Merge branch 'master' of github.com:hyperledger/besu into eip-2930
RatanRSur Dec 15, 2020
420a918
rename intrinsic gas cost method and optimize accessed state gas cost…
RatanRSur Dec 15, 2020
6f11e7f
fix MainnetTransactionValidatorTest
RatanRSur Dec 15, 2020
67718d9
fix NPE in DefaultPrivacyControllerTest
RatanRSur Dec 15, 2020
67e584d
rename
RatanRSur Dec 15, 2020
1f36f8e
actually warm everything up
RatanRSur Dec 15, 2020
f7a5763
renames
RatanRSur Dec 15, 2020
28661b8
remove todo
RatanRSur Dec 15, 2020
c20b6d5
add type guesser
RatanRSur Dec 15, 2020
0b60d10
make assertion comply with new class
RatanRSur Dec 15, 2020
5352f4b
type guess test
RatanRSur Dec 15, 2020
9ff9670
warm up everything in one pass
RatanRSur Dec 16, 2020
0f3f638
Merge branch 'master' of github.com:hyperledger/besu into eip-2930
RatanRSur Dec 16, 2020
05d7d75
typo
RatanRSur Dec 16, 2020
8c3ee4c
spotless
RatanRSur Dec 16, 2020
1e81c0b
some test fixes
RatanRSur Dec 16, 2020
c6c16f1
spotless
RatanRSur Dec 16, 2020
4b3b631
go back to wrap
RatanRSur Dec 16, 2020
ef843dd
wrap bytes properly
RatanRSur Dec 16, 2020
17aa80c
add TransactionType to BlockOptions
RatanRSur Dec 16, 2020
cf0cffe
REPLACE STATE ROOTS
RatanRSur Dec 17, 2020
1c500ae
don't generate gas price for EIP-1559 transaction
RatanRSur Dec 17, 2020
df5244b
fix hardcoded index
RatanRSur Dec 17, 2020
79eed1d
fix brittle test again
RatanRSur Dec 17, 2020
2782623
remove unnecessary test
RatanRSur Dec 17, 2020
8b4cbae
private
RatanRSur Dec 17, 2020
00f7c7b
fix limited message test
RatanRSur Jan 4, 2021
75a8056
transactions generator change
RatanRSur Jan 4, 2021
248cfe4
Merge branch 'master' of github.com:hyperledger/besu into transaction…
RatanRSur Jan 4, 2021
2c6ea09
simplify condition
RatanRSur Jan 4, 2021
74467f4
unhardcode limits
RatanRSur Jan 4, 2021
b279692
Merge branch 'master' of github.com:hyperledger/besu into transaction…
RatanRSur Jan 5, 2021
09f2d99
Merge branch 'master' of github.com:hyperledger/besu into eip-2930
RatanRSur Jan 5, 2021
513265f
Merge branch 'transaction-type-test-support' into eip-2930
RatanRSur Jan 5, 2021
c6948b1
add access list to block data generator
RatanRSur Jan 5, 2021
be1b027
use block data generator in roundtrip test
RatanRSur Jan 5, 2021
b61db6e
wrong stuff
RatanRSur Jan 5, 2021
0818cd1
new transaction encoding/decoding
RatanRSur Jan 5, 2021
1b88d32
transaction receipt generation with types
RatanRSur Jan 5, 2021
aaf0d87
fix receipt en/decoding
RatanRSur Jan 5, 2021
a1ceab7
Objects.equals
RatanRSur Jan 5, 2021
63d94df
Merge branch 'transaction-type-test-support' into eip-2930
RatanRSur Jan 5, 2021
2bfd9b3
add files and header deserialization
RatanRSur Jan 7, 2021
99c2856
misc
RatanRSur Jan 8, 2021
49e04f7
fix npe
RatanRSur Jan 11, 2021
c8aa450
change annotation order
RatanRSur Jan 11, 2021
4ea9a45
update tests
RatanRSur Jan 11, 2021
f028213
parsing files and failing!
RatanRSur Jan 12, 2021
27679b6
better test names
RatanRSur Jan 12, 2021
388af6e
revert field name changes to test files
RatanRSur Jan 12, 2021
fc147b1
assume chainId of 1 in json parsing
RatanRSur Jan 12, 2021
def3af6
read int scalar instead of byte
RatanRSur Jan 12, 2021
ebc0931
rename lambda parameter
RatanRSur Jan 12, 2021
5d81a5b
set v for access list transactions
RatanRSur Jan 12, 2021
ea5b1a9
properly compare v for equality
RatanRSur Jan 12, 2021
c81cfd8
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 12, 2021
67bb14b
deserialize receipts
RatanRSur Jan 12, 2021
16a576e
spotless
RatanRSur Jan 12, 2021
8e71db3
add roots test
RatanRSur Jan 12, 2021
ffeef76
remove println
RatanRSur Jan 12, 2021
383f306
add header
RatanRSur Jan 13, 2021
2848a0d
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 13, 2021
597a43f
multi-line comment
RatanRSur Jan 13, 2021
7371077
make encoding match decoding
RatanRSur Jan 13, 2021
79b8808
update test file
RatanRSur Jan 14, 2021
6c6ef6b
biginteger v type
RatanRSur Jan 14, 2021
cbde3c2
don't allow null transactions
RatanRSur Jan 14, 2021
e7afe11
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 14, 2021
da5d235
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 18, 2021
d3ef08e
fix ClassNotFoundException
RatanRSur Jan 18, 2021
74cbcb0
add clique dependency
RatanRSur Jan 19, 2021
102c2ef
wip: importing martin's blocks
RatanRSur Jan 20, 2021
3c22b46
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 20, 2021
1121c54
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 22, 2021
59ffd5b
new test files
RatanRSur Jan 22, 2021
56bd518
fix sender recovery for access list
RatanRSur Jan 22, 2021
8daade4
revert BlockchainSetupUtil changes
RatanRSur Jan 22, 2021
fee114b
only go through storage slots if account exists
RatanRSur Jan 22, 2021
e4b8165
change transaction trie and receipt trie values
RatanRSur Jan 26, 2021
56d4417
checkNotNull
RatanRSur Jan 26, 2021
cd5d47b
spotless
RatanRSur Jan 27, 2021
2f545ce
delete test class
RatanRSur Jan 27, 2021
0601199
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 27, 2021
5d5fa88
remove v setting
RatanRSur Jan 27, 2021
8427774
encode eip1559 as 2718 transaction
RatanRSur Jan 27, 2021
af6b5d5
remove print
RatanRSur Jan 27, 2021
dd02b6e
remove unnecessary check for frontier type
RatanRSur Jan 27, 2021
c2668d3
fix receipt reading
RatanRSur Jan 27, 2021
5a50a18
fix receipt writing/reading outside of trie
RatanRSur Jan 27, 2021
53a8227
plugin hash
RatanRSur Jan 27, 2021
25e3084
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Jan 27, 2021
31cc131
fix tests that brittly rely on block data generator
RatanRSur Jan 27, 2021
1ea2fea
fix brittle reorg test
RatanRSur Jan 27, 2021
221bf03
"fix" PrivacyReorgTest
RatanRSur Jan 28, 2021
da33fcc
remove @JsonIgnore
RatanRSur Jan 28, 2021
1f78dd9
rename
RatanRSur Jan 28, 2021
2d13848
rename rlpInput
RatanRSur Jan 28, 2021
e5a69db
add check back
RatanRSur Jan 28, 2021
81c6e8a
delete files from tests
RatanRSur Jan 28, 2021
3f76d51
spotless
RatanRSur Jan 28, 2021
f9f0663
another deletion
RatanRSur Jan 28, 2021
3662a2d
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Feb 1, 2021
0e8bd33
cleanup
RatanRSur Feb 1, 2021
74a3574
cleanup
RatanRSur Feb 1, 2021
4e9b625
Merge branch 'master' of https://github.com/hyperledger/besu into eip…
RatanRSur Feb 1, 2021
f8885d8
Merge branch 'master' into eip-2930
RatanRSur Feb 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix brittle test again
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
  • Loading branch information
RatanRSur committed Dec 17, 2020
commit 79eed1df7b0b44a4f98e9f642a37e0c95c5fac8f
4 changes: 2 additions & 2 deletions besu/src/test/java/org/hyperledger/besu/PrivacyReorgTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public void reorgToShorterChain() {
gen.block(getBlockOptionsNoTransaction(blockchain.getGenesisBlock(), firstBlockStateRoot));

final String secondBlockStateRoot =
"0xfb23c0865f7e107a9c384cd7458a70ec633721ef51a7d94df0b5a3ecc6c01aac";
"0x7e887f91d2a6205f4a643701aba022c2db0bac5ab235102ab7477edd7a8a4317";
final Block secondBlock =
gen.block(
getBlockOptionsWithTransaction(
Expand All @@ -288,7 +288,7 @@ public void reorgToShorterChain() {
.plus(blockchain.getBlockByNumber(2).get().getHeader().getDifficulty());

final String forkBlockStateRoot =
"0xc7da6cf8512ffdcda7e08fc0997f667c0c9bdb79f0aa4d47661ead860390162c";
"0x486b886bde6472e8d706f8eb4fb6378ebbdceb4848a5a8d69a726575b22e41b6";
final Block forkBlock =
gen.block(
getBlockOptionsNoTransactionWithDifficulty(
Expand Down