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

Merge/foundation release/1.10.18 #477

Merged
merged 206 commits into from
Jun 28, 2022
Merged

Conversation

meowsbits
Copy link
Contributor

No description provided.

holiman and others added 30 commits March 29, 2022 19:19
* internal/ethapi: add refund to StructLogRes

* Update internal/ethapi/api.go

Co-authored-by: rjl493456442 <[email protected]>

Co-authored-by: rjl493456442 <[email protected]>
Makes the evm json output less verbose: omitting output of `memory` and `returndata` in case they are empty.
This PR adds a ExtraAllowedPath field to Solidity and exposes two APIs: CompileSource and CompileFiles, which were hidden inside CompileSolidityString and CompileSolidity before.
* Add extra-data checks for clique genesis

* Update genesis.go

* Update genesis.go

* core: simplify clique genesis check

Co-authored-by: Felix Lange <[email protected]>
Co-authored-by: Martin Holst Swende <[email protected]>
…d of error (#24475)

* core: Change Snapshot extension registration failed to Debug

* Update eth/handler.go

Co-authored-by: Martin Holst Swende <[email protected]>
Trie tracer is an auxiliary tool to capture all deleted nodes
which can't be captured by trie.Committer. The deleted nodes
can be removed from the disk later.
* core,eth: add empty tx logger hooks

* core,eth: add initial and remaining gas to tx hooks

* store tx gasLimit in js tracer

* use gasLimit to compute intrinsic cost for js tracer

* re-use rules in transitiondb

* rm logs

* rm logs

* Mv some fields from Start to TxStart

* simplify sender lookup in prestate tracer

* mv env to TxStart

* Revert "mv env to TxStart"

This reverts commit 656939634b9aff19f55a1cd167345faf8b1ec310.

* Revert "simplify sender lookup in prestate tracer"

This reverts commit ab65bce48007cab99e68232e7aac2fe008338d50.

* Revert "Mv some fields from Start to TxStart"

This reverts commit aa50d3d9b2559addc80df966111ef5fb5d0c1b6b.

* fix intrinsic gas for prestate tracer

* add comments

* refactor

* fix test case

* simplify consumedGas calc in prestate tracer
This PR makes the errors we spit out a bit more clear about what block is problematic.
…#24610)

* eth/downloader: retrieve pivot header from local chain if necessary

* eth/downloader: improve readability

* eth/downloader: update fix

* eth/downloader: add beacon sync tests

* eth/downloader: remove duplicated code
* eth/tracers: refactor traceTx to separate out struct logging

review fix

Update eth/tracers/api.go

Co-authored-by: Martin Holst Swende <[email protected]>

Mv ExecutionResult type to logger package

review fix

impl GetResult for StructLogger

make formatLogs private

confused exit and end..

account for intrinsicGas in structlogger, fix TraceCall test

Add Stop method to logger

Simplify traceTx

Fix test

rm logger from blockchain test

account for refund in structLogger

* use tx hooks in struct logger

* minor

* avoid executionResult in struct logger

* revert blockchain test changes
eth/fetcher: if peers never respond, drop them
core/state/snapshot: remove noop map item assignment
* cmd/geth: inspect snapshot dangling storage

* cmd/geth: make verify-state invoke verify-dangling
This commit replaces ioutil.TempDir with t.TempDir in tests. The
directory created by t.TempDir is automatically removed when the test
and all its subtests complete.

Prior to this commit, temporary directory created using ioutil.TempDir
had to be removed manually by calling os.RemoveAll, which is omitted in
some tests. The error handling boilerplate e.g.

	defer func() {
		if err := os.RemoveAll(dir); err != nil {
			t.Fatal(err)
		}
	}

is also tedious, but t.TempDir handles this for us nicely.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <[email protected]>
This modifies the order of Lock() defer Unlock() to follow the more
typically used pattern.
"miner" is not set for pending block responses in some cases.

Fixes #24632
* cmd: set DefaultGasLimit to 30M, rem deprec. Flag

* cmd: revert flag deprecation
This PR fixes a few panics in the chain marker benchmarks. The root
cause for panic is in chain marker the genesis header/block is not
accessible, while it's expected to be obtained in tests. So this PR
avoids touching genesis header at all to avoid panic.
meowsbits and others added 24 commits June 9, 2022 13:52
…cespare/cp

Date: 2022-06-09 13:52:19-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 13:53:28-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:39:29-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:41:43-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:42:29-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:43:02-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:43:36-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:44:12-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:45:49-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 14:49:57-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 15:00:22-07:00
Signed-off-by: meows <[email protected]>
MainnetFlag is already in NetworkFlags.
The flag library panics when a flag is
redefined.

Date: 2022-06-09 15:01:10-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-09 15:01:26-07:00
Signed-off-by: meows <[email protected]>
Still not sure exactly where that path was getting
configured. It was a concatenation
of all the executable name and all the flags.

Date: 2022-06-09 15:09:44-07:00
Signed-off-by: meows <[email protected]>
ethclient_test.go:798: over: [debug_testSignCliqueBlock], under: [debug_dbAncient debug_dbAncients debug_dbGet debug_getRawReceipts]

Date: 2022-06-09 15:13:56-07:00
Signed-off-by: meows <[email protected]>
…`call_tracer_parity_legacy.js` which has been replaced by native tracer

The plan was to be removed on next release, but we are removing it now, in order to not introduce `getAvailableGas` in Goja JS runtime
…/tracers/js/internal/tracers: revert core-geth changes on prestate_tracer_legacy.js
this was being used for achieving 100% compatibility with Parity tracers. With the newer APIs from foundation this seems to not be needed anymore. Tests have to performed
Date: 2022-06-13 07:12:18-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-13 07:14:19-07:00
Signed-off-by: meows <[email protected]>
See comment at
548ae16#r75976034

Date: 2022-06-13 07:15:11-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-13 08:31:19-07:00
Signed-off-by: meows <[email protected]>
Date: 2022-06-17 07:36:45-07:00
Signed-off-by: meows <[email protected]>
@meowsbits meowsbits merged commit c844278 into master Jun 28, 2022
@meowsbits meowsbits deleted the merge/foundation-release/1.10.18 branch June 28, 2022 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.