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-2718 Typed Transaction Envelopes #1645

Merged
merged 24 commits into from
Dec 2, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3a9190e
some encoder stuff
RatanRSur Nov 30, 2020
dd01ffb
streamline
RatanRSur Nov 30, 2020
2d927d6
use block bodies with transactions
RatanRSur Dec 1, 2020
020b961
Merge branch 'block-bodies-with-transactions' into eip-2718-easy-mode
RatanRSur Dec 1, 2020
02cb926
switching on first byte for decode transaction
RatanRSur Dec 1, 2020
a1c7248
round trip block bodies message
RatanRSur Dec 1, 2020
cd468aa
change writing to use raw bytes as well
RatanRSur Dec 1, 2020
02e2e27
plugin hash
RatanRSur Dec 1, 2020
fad7ccb
spotless
RatanRSur Dec 1, 2020
e937b2e
add type byte to 1559 transaction and fix deserialization
RatanRSur Dec 1, 2020
d951d62
more decoding fixes
RatanRSur Dec 1, 2020
09e827b
fix roundtrip issues in TransactionRLPEncoderTest and standardize enc…
RatanRSur Dec 1, 2020
6e20ee0
receipts
RatanRSur Dec 1, 2020
e6964e7
undo readAsRLP(boolean lenient)
RatanRSur Dec 1, 2020
7f3c597
standardize encoders and decoders
RatanRSur Dec 1, 2020
6dbc810
streamline assertion
RatanRSur Dec 1, 2020
9db200e
placeholder comment
RatanRSur Dec 1, 2020
9509653
fix test breakage from tx receipt factory interface signature change
RatanRSur Dec 1, 2020
1357ddc
reinline
RatanRSur Dec 1, 2020
2757b69
Merge branch 'master' of github.com:hyperledger/besu into eip-2718-ea…
RatanRSur Dec 1, 2020
c99fc3e
expand legacy range
RatanRSur Dec 1, 2020
7a6a109
Merge branch 'master' of github.com:hyperledger/besu into eip-2718-ea…
RatanRSur Dec 1, 2020
27dd3c4
Merge branch 'master' of github.com:hyperledger/besu into eip-2718-ea…
RatanRSur Dec 2, 2020
3370fbc
move interfaces
RatanRSur Dec 2, 2020
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
undo readAsRLP(boolean lenient)
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
  • Loading branch information
RatanRSur committed Dec 1, 2020
commit e6964e7b4d31499c746cfc583f8235d287c8ab55
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public <T> T readBytes(final Function<Bytes, T> mapper) {
}

@Override
public RLPInput readAsRlp(final boolean lenient) {
public RLPInput readAsRlp() {
if (currentItem >= size) {
throw error("Cannot read current element as RLP, input is fully consumed");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,7 @@ default long readUnsignedInt() {
*
* @return The current element as a standalone RLP input element.
*/
default RLPInput readAsRlp() {
return readAsRlp(false);
}

RLPInput readAsRlp(boolean lenient);
RLPInput readAsRlp();

/**
* Returns a raw {@link Bytes} representation of this RLP.
Expand Down