Commit Graph

15 Commits

Author SHA1 Message Date
Enrique Jose Avila Asapche
eaad0d0a4a
changed baseFeeCap from uint64 -> uint256 (#646)
* changed baseFeeCap from uint64 -> uint256

* fixed test

* ops

* no overflow

* tmp var

* difference

* ops difference

* adding proper rlp with feecap
2022-09-23 12:47:01 +02:00
Andrew Ashikhmin
e572bef176
Remove TxParseContext.withBor (#622) 2022-09-04 13:15:02 +02:00
Andrew Ashikhmin
bae34e0149
Only legacy transactions can happen before EIP-2 (#620) 2022-09-02 13:48:50 +02:00
Andrew Ashikhmin
215695f939
Add a test with the bad txn on Görli (#619) 2022-09-02 10:37:02 +02:00
Enrique Jose Avila Asapche
7505532113
got rid of bor related things (#618) 2022-09-02 10:50:59 +07:00
Andrew Ashikhmin
987fb4a7e1
ParseTransaction: Validate v, r, s in signature (#616)
* Introduce TxParseContext.allowPreEip2s

* TxParsseConfig -> TxParseConfig

* Extract MustDecodeHex

* Validate v, r, s of txn signature

* Add comment
2022-09-01 15:26:42 +02:00
Enrique Jose Avila Asapche
393fcf6856
check with bor (#612)
* check with bor

* lol
2022-08-30 18:50:34 +07:00
Enrique Jose Avila Asapche
1a42afe5f2
Parse transaction for bor (#604)
* checking if it is a bor tx

* ops

* checking if sender is empty bytes

* no need for borSprint var

* fixing lint

* still returning p

* added isBor to slot

* added global var

* got rid of sender check

* ops

* ops two

* lint
2022-08-30 09:51:26 +07:00
Alex Sharov
1e029ac6d8
go1.19 gofmt (#576)
* save

* save
2022-08-10 19:00:19 +07:00
Yusaku Sako
4a04d92840
Fixes an issue where pending transaction push was throttled to at most 1 per 100ms. https://github.com/ledgerwatch/erigon/issues/3892 (#555) 2022-07-27 12:09:20 +07:00
Alex Sharov
6f7794e88b
Pool: parse rlp chain id for non-legacy transactions (#542)
* save

* save

* save

* save

* save

* save
2022-07-23 10:11:25 +07:00
Alex Sharov
e824fdff60
remove fuzzbeta build tag, because now go1.18 is minimum requirement (#428) 2022-07-03 14:38:53 +06:00
Alex Sharov
b1dc1bfbbf
run go fix ./... (#453) 2022-05-17 14:48:16 +07:00
Alex Sharov
f3f655ec26
Txn tip is u256 (#447)
* save

* save

* save

* save
2022-05-13 12:21:29 +07:00
Alex Sharov
da0666bd83
ErigonLib: move types to own package (#413) 2022-04-11 10:02:44 +07:00