Arpit Temani
d84df0dea5
add burnt contract address
2022-01-10 22:51:42 +05:30
Arpit Temani
09ed09124f
add london fork
2022-01-10 16:29:28 +05:30
Marius van der Wijden
b1e72f7ea9
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
...
* core: implement eip-4399 random opcode
* core: make vmconfig threadsafe
* core: miner: pass vmConfig by value not reference
* all: enable 4399 by Rules
* core: remove diff (f)
* tests: set proper difficulty (f)
* smaller diff (f)
* eth/catalyst: nit
* core: make RANDOM a pointer which is only set post-merge
* cmd/evm/internal/t8ntool: fix t8n tracing of 4399
* tests: set difficulty
* cmd/evm/internal/t8ntool: check that baserules are london before applying the merge chainrules
2022-01-10 09:44:21 +02:00
Victor Castell
8dd6f59bbc
Configure bor params in the unit itself ( #270 )
...
This PR removes the necessity of having a startup script, less moving parts, and less files to watch.
* Distribute the cannonical genesys file with packages
As we are going to embed genesys data into the binary, this is the most close method to do it before the new CLI.
This way, each release gets tied to it's corresponding genesys file.
This establish bor repository as the source of truth for the genesys file.
* Simplify flags using defaults
2022-01-07 17:20:57 +01:00
aaronbuchwald
1884f37f2c
cmd/ethkey: fix comment typo ( #24205 )
2022-01-07 16:46:24 +02:00
ucwong
23471288c8
accouts/scwallet: typo fix ( #24207 )
2022-01-07 16:45:53 +02:00
Péter Szilágyi
adc0a6adca
Merge pull request #24210 from holiman/whitelist_investigate
...
eth: continue after whitelist check
2022-01-07 16:44:22 +02:00
Martin Holst Swende
0dec47b5c0
eth: continue after whitelist check
2022-01-07 14:19:00 +01:00
sanskarkhare
127ce93db4
accounts: corrected spelling mistakes ( #24194 )
...
Co-authored-by: sanskar khare <sanskarkhare@sanskars-MacBook-Air.local>
2022-01-06 16:03:33 +02:00
Dmitriy Fishman
9aa2e98191
README: fix a typo ( #24196 )
2022-01-06 16:02:57 +02:00
Sam
7403a38ab7
core: fix a typo ( #24198 )
2022-01-06 16:02:23 +02:00
Péter Szilágyi
af2ca5a654
Merge pull request #24117 from holiman/db_has
...
trie, core, eth: use db.has over db.get where possible
2022-01-06 11:30:11 +02:00
Felix Lange
0f893109c9
params: begin v1.10.16 release cycle
2022-01-05 17:17:32 +01:00
Felix Lange
8be800ffa9
params: go-ethereum v1.10.15 stable
2022-01-05 17:16:40 +01:00
Martin Holst Swende
335914a63a
les: fix serverHandler crash after setHead ( #24200 )
2022-01-05 16:40:45 +01:00
Sina Mahmoodi
3ccd6b6dbb
graphql: fix block resolving for parent field ( #24191 )
...
Fixes #24161
2022-01-05 16:22:46 +01:00
Sina Mahmoodi
c20de3c4bd
graphql: fix pre-byzantium receipt status ( #24188 )
...
Fixes #24124
2022-01-05 16:21:08 +01:00
Felix Lange
0169d579d0
ethclient: fix unmarshaling of ethereum.SyncProgress ( #24199 )
...
SyncProgress was modified in PR #23576 to add the fields reported for
snap sync. The PR also changed ethclient to use the SyncProgress struct
directly instead of wrapping it for hex-decoding. This broke the
SyncProgress method.
Fix it by putting back the custom wrapper. While here, also put back the
fast sync related fields because SyncProgress is stable API and thus
removing fields is not allowed.
Fixes #24180
Fixes #24176
2022-01-05 16:12:47 +01:00
Sina Mahmoodi
c0d17bca52
graphql: check header first in blocks query ( #24190 )
...
Fixes #24167
New behaviour is that the endpoint returns results only for available
blocks without returning an error when it doesn't find a block. Note we
skip any block after a non-existent block.
This adds a header fetch for every block in range (even if header
is not needed). Alternatively, we could do the check in every field's
resolver method to avoid this overhead.
2022-01-05 16:11:46 +01:00
Alex
d7891c0d24
Bump maximum GPO price to 5000 Gwei
2022-01-05 10:09:10 +01:00
Victor Castell
53d8947bfe
Do not attempt DNS discovery and change default sync flag ( #283 )
...
* Prefer full sync
* Do not set DNS discovery
2022-01-05 08:41:40 +01:00
Gary Rong
4bd2d0eccf
core: periodically flush the transaction indexes
2022-01-05 15:00:03 +08:00
Martin Holst Swende
66a908c5e8
core/rawdb: fix double-lock causing hang ( #24189 )
...
Fixes #24159
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-01-04 19:02:37 +01:00
peter cresswell
d0bd5017ed
accounts: correct comment ( #24186 )
...
Change two instances of the word `calulcated` to `calculated`.
2022-01-04 17:24:28 +02:00
Water
98be5f9a72
trie: fix spelling mistake ( #24185 )
...
mispelled words in comments: th enext
2022-01-04 17:23:52 +02:00
William Morriss
521b3a7833
bor the default target ( #281 )
2022-01-04 14:05:46 +01:00
SHIVAM SHARMA
d51abdb487
removed errors in testcase ( #258 )
2022-01-03 10:48:17 +01:00
ucwong
062d910b26
go.mod : go-nat-pmp v1.0.2
2021-12-30 18:52:59 +08:00
Victor Castell
fbd2de7a85
Build using netgo tag ( #275 )
...
This will create a static build using Go native networking stack.
Checked and it works stable for all archs and distros.
2021-12-27 13:26:29 +01:00
zgfzgf
356bbe343a
core/asm: change order of items in stringtokenTypes ( #24153 )
...
This orders the items in slice definition same as the enum values.
2021-12-26 14:58:17 +01:00
Felix Lange
dddf73abbd
params: begin v1.10.15 release cycle
2021-12-23 11:23:07 +01:00
Felix Lange
11a3a35097
params: release go-ethereum v1.10.14 stable
2021-12-23 11:21:45 +01:00
Alexey Shekhirin
3f2e96cf95
cmd/geth: add missing sepolia testnet flag checks ( #24147 )
2021-12-22 17:51:57 +01:00
Felix Lange
980b7682b4
core/types: document JSON field name equivalents of DynamicFeeTx ( #24143 )
2021-12-22 15:32:17 +01:00
Felix Lange
b8edc04ce3
build: upgrade -dlgo version to Go 1.17.5 ( #24144 )
2021-12-22 15:31:41 +01:00
Ferran Borreguero
bbdd7efcff
More cleanup
2021-12-22 12:14:14 +01:00
Ferran Borreguero
71bb7157d0
Move things in lightclient
2021-12-22 12:10:32 +01:00
Ferran Borreguero
1b9c2ad419
Clean ethstats syncer
2021-12-22 12:03:22 +01:00
Shivam Sharma
3a6744785b
Added chain2head event in Ethstats
2021-12-22 15:36:31 +05:30
fomotrader
99be62a9b1
accounts/abi: avoid unnecessary alloc ( #24128 )
2021-12-20 10:25:46 +01:00
xwjack
8bbf83e7a4
core: ignore basefee when comparing with pool gasprice in txpool ( #24080 )
...
This reverts commit 9489853321 .
2021-12-17 15:44:57 +01:00
Marius van der Wijden
2295640ebd
eth/catalyst: implement kintsugi-spec v3 ( #24067 )
2021-12-17 15:38:58 +01:00
Ikko Ashimine
f5f5c0855a
tests/solidity/contracts: fix typo in OpCodes.sol ( #24123 )
2021-12-17 15:19:34 +01:00
Sina Mahmoodi
ada9c774e9
eth, les: update unclean shutdown markers regularly ( #24077 )
...
Fixes #22580
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-12-17 15:18:51 +01:00
Andrei Maiboroda
3e47e38a4e
core/vm: Make INVALID a defined opcode ( #24017 )
...
* core/vm: Define 0xfe opcode as INVALID
* core/vm: Remove opInvalid as opUndefined handles it
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2021-12-17 13:44:05 +01:00
Paweł Bylica
81ec6b1d4c
core/vm: reverse bit order in bytes of code bitmap ( #24120 )
...
* core/vm: reverse bit order in bytes of code bitmap
This bit order is more natural for bit manipulation operations and we
can eliminate some small number of CPU instructions.
* core/vm: drop lookup table
2021-12-17 10:32:00 +01:00
Marius van der Wijden
bc6bf1e193
README: remove mentions of snap sync ( #24122 )
2021-12-16 11:50:05 +01:00
Martin Holst Swende
893502e561
trie, core, eth: use db.has over db.get where possible
2021-12-15 16:16:45 +01:00
Roman Mazalov
0ba0b81e54
rpc: fix time key collision for logger with json output ( #24112 )
...
The "t" key overrides the log message time in JSON output.
Co-authored-by: Felix Lange <fjl@twurst.com>
2021-12-15 15:30:54 +01:00
Sandeep Sreenath
c227a07241
bumped version to beta2
2021-12-15 17:55:32 +05:30