Ho
149419cf09
fix(trace): deletion proof missed path terminated by empty node ( #330 )
...
* fix deletion proof issue on empty node
* refine for better implement and fix unittest
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-05-22 15:24:49 +08:00
Nazarii Denha
1094569b5b
feat: enable eip and update check ( #335 )
...
* enable eip and update check
* Update version.go
---------
Co-authored-by: Péter Garamvölgyi <th307q@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-05-19 21:41:58 +08:00
Ho
910d4f1a70
feat(trace): add storage proof about l1fee (baseFee, overhead, scalar) and withdraw root into trace ( #314 )
...
* add proof for predeployed storages
* reverse inneeded code
* update for mainbranch merging
* add coinbase storage as trace
* comment for clarify
* Update version.go
---------
Co-authored-by: Péter Garamvölgyi <th307q@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-05-18 21:49:09 +08:00
Péter Garamvölgyi
b8d22a104d
Add Archimedes hard fork block number for Scroll Alpha ( #331 )
...
* add Archimedes hard fork block number for Scroll Alpha
* bump version
2023-05-18 12:38:53 +02:00
Nazarii Denha
c5da652c29
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 ) ( #318 )
...
* core/vm: implement EIP-3860: Limit and meter initcode (#23847 )
Implementation of https://eips.ethereum.org/EIPS/eip-3860 , limit and meter initcode. This PR enables EIP-3860 as part of the Shanghai fork.
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* add ishanghai
* fix test
* fix
---------
Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
Co-authored-by: lightclient@protonmail.com <lightclient@protonmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-05-18 12:11:53 +02:00
Nazarii Denha
b1e5eea84d
add isShanghai rule based on block number ( #319 )
...
* add isShanghai rule based on block number
* fix lint
* nit
---------
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-05-10 15:09:55 +02:00
Max Wolff
b0b0bf1133
Archimedes hard fork: Disable sha2, ripemd, blake2f precompiles ( #280 )
...
* add placeholder block
* add test, more changes
* revert aleth changes
* typo
* typo
* precompile switch
* change precomiles
* rename placeholder to archimedes
* fix comment
* ScrollAlphaChainConfig
* add nil for archimedes block for now
* fix test typo
2023-05-09 09:04:46 -07:00
Péter Garamvölgyi
27a3830afa
Improve oversized block handling ( #315 )
...
* improve oversized block handling
* bump version
2023-05-08 18:58:58 +02:00
Ho
c913b3e2f1
fix(zktrie): fix deletion proofs and collect them in commiting phase ( #263 )
...
* new deletion proof
* complete tracer and test
* extend proof for parallel tracing
* integrating into blocktrace
* lint
* deduplication of deletion proofs
* fix an issue on marking deletion
* fixs since last review
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@ip-10-2-9-63.us-west-2.compute.internal>
2023-05-08 15:40:54 +08:00
Péter Garamvölgyi
1263e6349d
Bump version ( #310 )
...
bump version to 3.1.10
2023-05-03 17:55:34 +02:00
Péter Garamvölgyi
5017dcb92a
Add block payload size limit ( #309 )
...
add block payload size limit
2023-05-03 17:45:17 +02:00
Ho
ba4feee9ff
feat(zktrie): upgrade zktrie to 0.5.3 ( #278 )
...
* upgrade zktrie to 0.5.3
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-04-24 21:32:50 +08:00
HAOYUatHZ
61d15e9d56
feat: print ScrollConfig when starting node ( #291 )
...
* feat: print ScrollConfig when starting node
* Update version.go
2023-04-24 20:49:50 +08:00
HAOYUatHZ
ddaab71dbb
Bump version v3.1.7 ( #299 )
2023-04-20 20:11:49 +08:00
HAOYUatHZ
32aacc3fd6
style: revert some formatting ( #294 )
...
Revert "style: remove blank line & white space formatting"
This reverts commit 349def8d5d78f83c19e899d5d80b1d9f6a5d18c6.
2023-04-20 17:49:35 +08:00
HAOYUatHZ
11ff7a0648
refactor: rename L1FeeEnabled to FeeVaultEnabled ( #281 )
...
rename `L1FeeEnabled` to `FeeVaultEnabled`
2023-04-19 22:41:38 +08:00
georgehao
f71fc6794a
fix(api): fix debug_ API oom bug ( #284 )
...
* feat: fix oom bug
* feat: format import
* feat: remove unused code
* Update version.go
---------
Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-04-19 21:26:29 +08:00
Péter Garamvölgyi
d274ef1f93
Bump version v3.1.5 ( #289 )
...
bump version v3.1.5
2023-04-19 06:14:28 +02:00
Péter Garamvölgyi
49e755e334
Add Scroll bootnode config ( #261 )
...
* add Scroll bootnode config
* expose scroll networks on node CLI
* add alpha genesis config
* fix scroll genesis config
* update default sync mode
* address todos
* remove scroll staging network
* bump version
* update genesis config
* bump version
2023-04-19 04:40:52 +02:00
HAOYUatHZ
df1d37e097
refactor(config): consolidate scroll flags ( #262 )
2023-04-17 18:56:26 +08:00
Péter Garamvölgyi
b986f1ea7b
feat(API): consider L1 fee in eth_call and eth_estimateGas ( #248 )
...
* consider L1 fee in eth_call and eth_estimateGas
* address comments
* consider l1fee in trace call
* nit
* fix bugs and add tests
* address comments
* bump version
2023-03-30 23:10:51 +08:00
Max Wolff
a74b35e86f
feat(api): add L1 fee to eth_getTransactionReceipt ( #244 )
...
* Update api.go
* fmt
* revert changes
* add l1fee to receipt in transaction processor
* decoder
* fmt
* fmt
* add encoding, test
* fmt
* removed duplicate l1 fee calc, added gen receipt
* remove dup l1feecalc
* lint
* add omitempty
* bump version
---------
Co-authored-by: Péter Garamvölgyi <th307q@gmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2023-03-28 09:08:57 +08:00
Péter Garamvölgyi
4da184ea60
feat(vm): disable EIP-3198 ( #250 )
...
* disable EIP 3198
* bump version
* trigger ci
2023-03-27 17:49:32 +08:00
HAOYUatHZ
127af384ed
build: update version ( #246 )
2023-03-21 10:04:20 +08:00
maskpp
03b4de32b7
feat(trace): Add chainID and version fields in trace. ( #227 )
...
* Add ChainID and version.
* fix comments.
* Update params/version.go
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
* fix comments.
* Update version.go
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-03-06 21:19:30 +08:00
maskpp
d1f9523b08
feat(build): Upgrade go version to 1.18 ( #241 )
...
* update go version
* update go version
* format code by goimports
* format code by goimports
* go mod tidy
* update go version
* update go version
* upgrade linter
* add exclude rule
* fix golangci exclude
---------
Co-authored-by: vincent <419436363@qq.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-03-06 13:32:39 +08:00
HAOYUatHZ
4588569b63
feat: VerifyFee for sendTx and txpool.add ( #236 )
...
* init
* rework
* handle `LesApiBackend`
* fix tests
* add L1fee even for 0 gasPrice
* update comments
2023-03-02 16:38:43 +08:00
HAOYUatHZ
8a78c736a5
feat(trace): add withdraw trie root ( #217 )
...
* init rollup/rcfg/config.go
minor
* update traces struct
* init withdraw_trie.go
* finish
* fix `L2MessageQueueAddress`
* refactor(rollup): add `UsingScroll` into `ChainConfig` (#218 )
* update comments
* update comments
2023-02-16 10:18:47 +08:00
Péter Garamvölgyi
30f4f57f07
feat: add block transaction count limit ( #216 )
...
* feat: add block transaction count limit
* add tests
* nit
2023-02-15 15:13:03 +08:00
Zhang Zhuo
1fe2d22e29
feat: make eip2718 & eip1559 configurable in txpool ( #206 )
...
* txpool only supports legacy tx
* configurable tx pool EIP-2718 && EIP-1559
* try fix CI
* fix CI
* fix metamask incompatibility
* fix comments
* fix CI
* set basefee as 0 when disable eip2718 or eip1559
* fix typo
---------
Co-authored-by: colinlyguo <colinlyguo@gmail.com>
2023-02-03 14:24:15 +08:00
Péter Garamvölgyi
2891916a0f
feat: Add Scroll fee vault address as fee recipient ( #187 )
...
* feat: add Scroll fee vault address as fee recipient
* log fee vault address if configured
* lint
* disable fee vault in test presets
* add simple test
2023-01-12 10:11:33 +01:00
Ho
c516a9e477
zktrie part2: add zktrie; allow switch trie type by config; ( #113 )
...
* induce zktrie
* refactoring zktrie
* fix crash issue in logger
* renaming JSON field
* unify hash scheme
* goimport and mod lint
* backward compatible with go 1.17
* lints
* add option on genesis file
* corrections according to the reviews
* trivial fixes: ValueKey entry, key in prove nodes
* fixing for the proof fix ...
* avoiding panic before loading stateDb in genesis setup
* revert ExtraData.StateList json annotation for compatibility
* fix goimports lint
* fix goimports lint
* better encoding for leaf node
* fix proof's printing issue, add handling on coinbase
* update genesis, and rule out snapshot in zktrie mode
* update readme and lint
* fix an issue
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
2022-06-27 11:17:02 +08:00
Steven
b6cc89fabe
Add goimports lint ( #54 )
...
* Add `goimports` lint.
* Fix `goimports` issue.
* Fix group to `github.com/scroll-tech/go-thereum`.
2022-03-24 16:53:59 +08:00
Jules
de7ed6af40
Update mod file and all imports to use scroll-tech URL ( #15 )
...
* Update mod file and all imports to use scroll-tech URL
Fixes #14
* Update Discord link
2021-12-24 10:59:22 +01:00
Péter Szilágyi
7a0c19f813
params: release Geth v1.10.13
2021-11-24 13:44:10 +02:00
Péter Szilágyi
ad11691daf
params: begin v1.10.13 release cycle
2021-11-08 15:44:11 +02:00
Péter Szilágyi
6c4dc6c388
params: release Geth v1.10.12
2021-11-08 15:42:08 +02:00
Péter Szilágyi
c4fff0f56e
params: update Ropsten CHT too
2021-11-08 14:12:22 +02:00
Péter Szilágyi
e61b8cb1f8
params: update CHTs for the 1.10.12 release
2021-11-08 13:40:32 +02:00
Martin Holst Swende
e1c000b0dd
cmd/geth: add support for sepolia testnet ( #23730 )
...
* cmd/geth: add support for sepolia testnet
* core: last details on sepolia genesis
* params: fix sepolia hash + reduce testing code
* Update params/bootnodes.go
* cmd/geth: fix attach path for sepolia
* params: update bootnodes
* params: fix
* core: fix docstring
* params: add sepolia CHT
2021-11-08 13:06:01 +02:00
Martin Holst Swende
32150f8aa9
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) ( #23810 )
...
This PR adds support for ArrowGlacier, as defined by
https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md
https://eips.ethereum.org/EIPS/eip-4345
> Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.
This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
2021-10-28 22:18:14 +02:00
Martin Holst Swende
114ed3edcd
params: begin v1.10.12 release cycle (second attempt)
2021-10-20 14:10:09 +02:00
Martin Holst Swende
7231b3efb8
params: release go-ethereum v1.10.11 stable (now with gofmt)
2021-10-20 14:08:23 +02:00
Martin Holst Swende
da1b6f3906
params: begin v1.10.12 release cycle
2021-10-20 14:02:40 +02:00
Martin Holst Swende
f423290ac8
params: update version
2021-10-20 13:56:37 +02:00
Felix Lange
464885faaa
params: begin v1.10.11 release cycle
2021-10-15 12:18:10 +02:00
Felix Lange
bb74230f2a
params: release go-ethereum v1.10.10 stable
2021-10-15 12:17:13 +02:00
Marius van der Wijden
53b1420ede
params: changed CatalystBlock to TerminalTotalDifficulty ( #23700 )
...
* params: changed CatalystBlock to TerminalTotalDifficulty
* eth/catalyst: comment out unused code
2021-10-11 18:58:11 +03:00
Felix Lange
06082fe267
params: begin v1.10.10 release cycle
2021-09-29 20:00:31 +02:00
Felix Lange
eae3b1946a
params: release go-ethereum v1.10.9 stable
2021-09-29 19:59:41 +02:00