Skip to content

updates genesis for : blk-33 : Adds posibility to disable/enable spec…#1

Merged
RilRil merged 1 commit intodevelfrom
blk-33-enable-disable-specific-smartcontract
Mar 17, 2022
Merged

updates genesis for : blk-33 : Adds posibility to disable/enable spec…#1
RilRil merged 1 commit intodevelfrom
blk-33-enable-disable-specific-smartcontract

Conversation

@RilRil
Copy link
Collaborator

@RilRil RilRil commented Mar 15, 2022

…ific smart contracts via Governance

@RilRil RilRil requested a review from dmitry123 March 15, 2022 13:55
@RilRil RilRil merged commit 8cbaa10 into devel Mar 17, 2022
@RilRil RilRil deleted the blk-33-enable-disable-specific-smartcontract branch March 29, 2022 08:10
gabuladze pushed a commit that referenced this pull request Apr 25, 2024
* add ip ratelimit

* update

* update

* update explorer adddress

* updae recapcha

* remove binance

* cmd/faucet: fix conn to wrapped wsconn

* cmd/faucet: keystore updated to save and load one same addres once

* clean: remove btcd v0.20.1-beta and avoid to ambiguous import (#1)

* ci: fix truffle test (#1384)

---------

Co-authored-by: fudongbai <296179868@qq.com>
Co-authored-by: Nathan <galaxystroller@gmail.com>
gabuladze added a commit that referenced this pull request Dec 12, 2025
#1)

* eth/tracers: prestate lookup EIP7702 delegation account (#32080)

Implement ethereum/go-ethereum#32078
Parse and lookup the delegation account if EIP7702 is enabled.

---------

Signed-off-by: jsvisa <delweng@gmail.com>

* cmd/geth: era-download logic fix (#32081)

Downloading from a range was failing because it would return and error
early with an error misinterpreting "start-end".

---------

Co-authored-by: shantichanal <158101918+shantichanal@users.noreply.github.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* core: warm key TransactionIndexTail by writing (#3196)

* miner: default gaslimit 45M (#32087)

We believe it is safe to raise the gaslimit to 45M before the Fusaka
fork. So this PR changes the default to 45M.

* core/rawdb, triedb/pathdb: implement history indexer (#31156)

This pull request is part-1 for shipping the core part of archive node
in PBSS mode.

* cmd/geth, triedb: add pathdb state verification (#32086)

This pull request ports the snapshot iteration logic from the legacy
implementation.

* core, consensus/beacon: defer trie resolution (#31725)

Previously, the account trie for a given state root was resolved immediately
when the stateDB was created, implying that the trie was always required
by the stateDB.

However, this assumption no longer holds, especially for path archive nodes,
where historical states can be accessed even if the corresponding trie data
does not exist.

* cmd/utils: fix formatting for beacon flag errors to fit Fatalf form (#32090)

Noticed that the errors for the blsync flags were not formatted
correctly for `Fatalf(..)`.

* eth, triedb/pathdb: permit write buffer allowance in PBSS archive mode (#32091)

This pull request fixes a flaw in PBSS archive mode that significantly
degrades performance when the mode is enabled.

Originally, in hash mode, the dirty trie cache is completely disabled
when archive mode is active, in order to disable the in-memory garbage
collection mechanism. However, the internal logic in path mode differs
significantly, and the dirty trie node cache is essential for maintaining
chain insertion performance. Therefore, the cache is now retained in
path mode.

* core, eth, triedb: serve historical states over RPC (#31161)

This is the part-2 for archive node over path mode, which ultimately
ships the functionality to serve the historical states

* triedb/pathdb: fix journal resolution in pathdb (#32097)

This pull request fixes a flaw in the PBSS state iterator, which
could return empty account or storage data.

In PBSS, multiple in-memory diff layers and a write buffer are
maintained. These layers are persisted to the database and reloaded after
node restarts. However, since the state data is encoded using RLP, the
distinction between nil and an empty byte slice is lost during the encode/decode
process. As a result, invalid state values such as `[]byte{}` can appear in PBSS
and ultimately be returned by the state iterator.

Checkout
https://github.com/ethereum/go-ethereum/blob/master/triedb/pathdb/iterator_fast.go#L270
for more iterator details.

It's a long-term existent issue and now be activated since the snapshot
integration.
The error `err="range contains deletion"` will occur when Geth tries to
serve other
peers with SNAP protocol request.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>

* all: incorporate state history indexing status into eth_syncing response (#32099)

This pull request tracks the state indexing progress in eth_syncing
RPC response, i.e. we will return non-null syncing status until indexing
has finished.

* version: release go-ethereum v1.16.0 stable

* version: begin v1.16.1 release cycle

* .gitea: trigger PPA upload on tag

* .travis.yml: remove travis configuration

* hash: remove caching that was decreasing perf (#3146)

* all: replace override.prague with osaka (#32093)

replace `--override.prague` with `--override.osaka`

Signed-off-by: jsvisa <delweng@gmail.com>

* node: do not double-wrap KV stores (#32089)

For no apparent reason, KV stores were getting wrapped in `nofreezedb`
first and then in `freezerdb`.

* eth: correct tracer initialization in BlockchainConfig (#32107)

core.BlockChainConfig.VmConfig is not a pointer, so setting the Tracer
on the `vmConfig` object after it was passed to options does *not* apply
it to options.VmConfig

This fixes the issue by setting the value directly inside the `options`
object and removing the confusing `vmConfig` variable to prevent further
mistakes.

* miner: fix metric simulateSpeedGauge

* .gitea: switch release builds to static linking (#32118)

This is to avoid compatibility issues with mismatched glibc versions
between the builder and deployment target.

Fixes #32102

* .gitea: fix 386 upload

* all: clear up `Verify Node` logic (#3199)

* miner: change default mev config (#3143)

* .gitea: disable cron schedule

* triedb: reset state indexer after snap synced (#32104)

Fix the issue after initial snap sync with `gcmode=archive` enabled.

```
NewPayload: inserting block failed       error="history indexing is out of order, last: null, requested: 1"
```

---------

Signed-off-by: Delweng <delweng@gmail.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* eth/filters: add address limit to filters (#31876)

The address filter was never checked against a maximum limit, which can
be somewhat abusive for API nodes. This PR adds a limit similar to
topics

This pull request introduces a new validation to enforce a maximum limit
on the number of addresses allowed in filter criteria for Ethereum logs.
It includes updates to the `FilterAPI` and `EventSystem` logic, as well
as corresponding test cases to ensure the new constraint is properly
enforced.

* **Validation for maximum addresses in filter criteria**:
- Added a new constant, `maxAddresses`, set to 100, to define the
maximum allowable addresses in a filter.
- Introduced a new error, `errExceedMaxAddresses`, to handle cases where
the number of addresses exceeds the limit.
- Updated the `GetLogs` method in `FilterAPI` to validate the number of
addresses against `maxAddresses`.
- Modified the `UnmarshalJSON` method to return an error if the number
of addresses in the input JSON exceeds `maxAddresses`.
- Added similar validation to the `SubscribeLogs` method in
`EventSystem`.

* **New test cases for address limit validation**:
- Added a test in `TestUnmarshalJSONNewFilterArgs` to verify that
exceeding the maximum number of addresses triggers the
`errExceedMaxAddresses` error.
- Updated `TestInvalidLogFilterCreation` to include a test case for an
invalid filter with more than `maxAddresses` addresses.
- Updated `TestInvalidGetLogsRequest` to test for invalid log requests
with excessive addresses.

These changes ensure that the system enforces a reasonable limit on the
number of addresses in filter criteria, improving robustness and
preventing potential performance issues.

---------

Co-authored-by: zsfelfoldi <zsfelfoldi@gmail.com>

* miner: only recommit bids when no error happens (#3204)

* chore: fix problematic comment (#3189)

* chore: fix duplicated counter (#3187)

* Fix log indexer noise after debug_setHead operations (#31934)

This PR resolves Issue #31929 by reducing log noise generated by the log
indexer after `debug_setHead` operations.

When `debug_setHead` is called to rewind the blockchain, blocks are
removed from the database. However, the log indexer's `ChainView`
objects may still hold references to these deleted blocks. When
`extendNonCanonical()` attempts to access these missing headers, it
results in:

1. **Repeated ERROR logs**: `Header not found number=X hash=0x...`
2. **Log noise** that can mask other important errors
3. **User confusion** about whether this indicates a real problem

The issue occurs because:
- `debug_setHead` removes blocks from the blockchain database
- Log indexer's `ChainView` may still reference deleted block hashes
- `extendNonCanonical()` in `core/filtermaps/chain_view.go` tries to
fetch these missing headers
- The existing `return false` logic properly handles the error, but logs
at ERROR level

This is a **logging improvement only** - no functional logic changes:

1. **Log level**: Changed from `ERROR` to `DEBUG`
2. **Log message**: Enhanced with descriptive context about chain view
extension
3. **Comments**: Added explanation for when this situation occurs
4. **Behavior**: Maintains existing error handling (`return false` was
already present)

```go
// Before
log.Error("Header not found", "number", number, "hash", hash)
return false

// After
// Header not found - this can happen after debug_setHead operations
// where blocks have been deleted. Return false to indicate the chain view
// is no longer valid rather than logging repeated errors.
log.Debug("Header not found during chain view extension", "number", number, "hash", hash)
return false
```

- ✅ All existing filtermaps tests pass: `go test ./core/filtermaps -v`
- ✅ No regressions in related functionality

1. **Before fix**: Started geth in dev mode, generated blocks, called
`debug_setHead(3)` → **5 repeated ERROR logs**
2. **After fix**: Same scenario → **4 DEBUG logs, no ERROR noise**

```bash
rm -rf ./dev-test-data
./build/bin/geth --dev --datadir ./dev-test-data --http --http.api debug,eth,net,web3 --verbosity 4

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"debug_setHead","params":["0x3"],"id":1}' http://localhost:8545
```

- Fixes #31929

This issue was reported as spurious error messages appearing after
`debug_setHead` operations. The investigation revealed that while the
error handling was functionally correct, the ERROR log level was
inappropriate for this expected scenario in development/debugging
workflows.

The fix maintains full compatibility while significantly improving the
debugging experience for developers using `debug_setHead`.

---------

Co-authored-by: Sun Tae, Kim <38067691+humblefirm@users.noreply.github.com>
Co-authored-by: zsfelfoldi <zsfelfoldi@gmail.com>

* core/filtermaps: clean up log format of unindexing message (#32123)

Sorry for not fully fixed in ethereum/go-ethereum#31761, now the log
format of unindexing message is cleaned up, to make it consistent with the indexing message.

* eth/catalyst: fix the log message in newPayloadV4 (#32125)

It should be `newPayloadV4 must only be called for prague payloads` for
the V4 payload error

* refactor: replace []byte(fmt.Sprintf) with fmt.Appendf (#3136)

* internal/ethapi: prealloc map for the txpool api (#32110)

use `make(map, len(txpool))` to prealloc the map for the txpool content,
to avoid the map growing in the loop.

* ethapi: reduce some of the wasted effort in GetTransactionReceipt (#32021)

Towards ethereum/go-ethereum#26974

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* ethdb: tuning pebble compaction parameter (#3205)

* internal: remove unused shh and swarm modules from console (#32073)

Similar to ethereum/go-ethereum#31856, remove
the not availabe shh, swarm modules in the console.

---------

Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* core/filtermaps: define APIs for map, epoch calculation (#31659)

This pull request refines the filtermap implementation, defining key
APIs for map and
epoch calculations to improve readability.

This pull request doesn't change any logic, it's a pure cleanup.

---------

Co-authored-by: zsfelfoldi <zsfelfoldi@gmail.com>

* core/types: blockTimestamp in logs is hex-encoded (#32129)

closes #32120

* core/rawdb, triedb/pathdb: fix two inaccurate comments (#32130)

* refactor: remove outdated prune-block/pruneancient tool, implement it by tail-deletion (#2809)

* eth/catalyst: fix edge case in simulated backend (#31871)

geth cmd: `geth --dev --dev.period 5`
call: `debug.setHead` to rollback several blocks.

If the `debug.setHead` call is delayed, it will trigger a panic with a
small probability, due to using the null point of
`fcResponse.PayloadID`.

---------

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>

* accounts/abi: generate TryPack* methods for abigen v2 bindings (#31692)

1. Fix the error return format.
**todo**: ~~`bindtype` needs more complex logic to fix it.~~
`
if err != nil {
  return nil, err
}
if err == nil {
  return obj, nil
}
`
2. ~~Return pointer type object to avoid copying the whole struct
content.~~
3. Give the panic decision to the user.
4. Fix empty line at the end of function.

**TODO**: ~~fix some related test cases.~~

---------

Co-authored-by: Jared Wasinger <j-wasinger@hotmail.com>

* version: release go-ethereum v1.16.1 stable

* params: only enable sharedStorage on special blocks (#3209)

* consensus/parlia: warn fast node to update to latest hard fork version

* chore: make function comment match function names (#3142)

* feat: enable shared storage pool (#3197)

* chore: fix some minor issues in the comments (#3216)

* ethdb : disable blockstore of multidatabase  (#3208)

* refactor: use the built-in max/min to simplify the code (#3217)

* p2p: treat all EVN peer as trust node; (#3212)

* chore: fix struct comment (#3207)

* jsutils: some minor updates (#3222)

* chore: fix some comments (#3220)

* doc: update go version required (#3224)

* refactor: use slices.Contains to simplify code (#3223)

* state: extra check for nano address (#3225)

* release: prepare for release v1.5.18 (#3230)

* chore: fix some typos (#3231)

* ethdb: fix disable freezer when enable multidb (#3233)

* build(deps): bump golang.org/x/oauth2 from 0.24.0 to 0.27.0 (#3243)

* refactor: use maps.Copy for cleaner map handling (#3235)

* freezer: change freeze batch size; (#3251)

* release: prepare for release v1.5.19 (#3252)

* jsutils: get slash count with specific step size and counter (#3256)

* prestate_tracer.js: clean-up (#3257)

* Fixed parseValidatorFrequencies()

* jsutil: fix a getSlashCount issue (#3267)

* upstream: fix CIs after geth-v1.16.1 merged (#4)

* workflows: remove check_tidy

* all: fix compile error in test cases

* CI: fix the lint CI

* CI: rm .gitea

* tests: update version of testdata to v17.0

* UT: fix core dir

* fix eth dir

* fix cmd dir

* fix ethclient_test dir

* tests: update spec-tests version

* accounts: skip TestWaitDeployedCornerCases

* CI: fix integration CI

* core: remove duplicate codes

* p2p: opt enr filter in peer discovery; (#3237)

* prefetch: lower prefetch threshold from 100 to 50 (#3274)

100 was for previous 3 seconds block interval, with shorter block interval it is
better to be a smaller value, could be helpful for bid simulate and block import

* chore: fix some function names in comment (#3272)

* feat: SuperInstruction implementation in EVM (#3260)

* feat: opcode optimization master squash (#3259)

* feat: patch opcode optimization

Co-authored-by: cbh876 <3930922419@qq.com>
Co-authored-by: Sunny <sunny2022.za@gmail.com>
Co-authored-by: constwz <122766871+constwz@users.noreply.github.com>

* core/rawdb: set multiDatabase properly when create ChainFreezer

* core/rawdb: remove useless option multiDatabase for chainFreezer

* core/rawdb: define useFinalizedForFreeze

* core/state: Added GetOrNewStateObject() back

* all: initial rough correction for code upstream

cmd/geth: disable ChainHistoryFlag

cmd/utils: remove flag cache.enablesharedpool

all: remove disableFreeze

eth: disable blockRangeLoop

core/vm: remove EVMPool

core: new snapshot explicitly only with HashScheme

core/filtermaps: leave a todo for filtermaps/checkpoints

core: more threads for state prefetch

eth: supress the useless lint for blockRangeLoop

* eth: don't send BlockRangeUpdateMsg

* eth/downloader: fix ancient limit in snap sync (#32188)

This pull request fixes an issue in disabling direct-ancient mode in
snap sync.

Specifically, if `origin >= frozen && origin != 0`, it implies a part of
chain data has been written into the key-value store, all the following
writes into ancient store scheduled by downloader will be rejected
with error

`ERROR[07-10|03:46:57.924] Error importing chain data to ancients
err="can't add block 1166 hash: the append operation is out-order: have
1166 want 0"`.

This issue is detected by the https://github.com/ethpandaops/kurtosis-sync-test,
which initiates the first snap sync cycle without the finalized header and
implicitly disables the direct-ancient mode. A few seconds later the second
snap sync cycle is initiated with the finalized information and direct-ancient mode
is enabled incorrectly.

* eth/fetcher: fix announcement drop logic (#32210)

This PR fixes an issue in the tx_fetcher DoS prevention logic where the
code keeps the overflow amount (`want - maxTxAnnounces`) instead of the
allowed amount (`maxTxAnnounces - used`). The specific changes are:

- Correct slice indexing in the announcement drop logic
- Extend the overflow test case to cover the inversion scenario

* all: fix outdated ethereum wiki json-rpc json-rpc doc links (#32209)

Replace outdated wiki reference with ethereum.org
documentation links

* core/types: fix CellProofsAt method (#32198)

* account/abi/bind/v2: fix TestDeploymentWithOverrides (#32212)

The root cause of the flaky test was a nonce conflict caused by async
contract deployments.

This solution defines a custom deployer with automatic nonce management.

* eth/tracers: apply block header overrides correctly (#32183)

Fixes #32175.

This fixes the scenario where the blockhash opcode would return 0x0
during RPC simulations when using BlockOverrides with a future block
number. The root cause was that BlockOverrides.Apply() only modified the
vm.BlockContext, but GetHashFn() depends on the actual
types.Header.Number to resolve valid historical block hashes. This
caused a mismatch and resulted in incorrect behavior during trace and
call simulations.

---------

Co-authored-by: shantichanal <158101918+shantichanal@users.noreply.github.com>
Co-authored-by: lightclient <lightclient@protonmail.com>

* eth/protocols/snap: fix negative eta in state progress logging (#32225)

* triedb/pathdb: fix incorrect address length in history searching (#32248)

We should use account length to check address, else OOB maybe occured

Signed-off-by: jsvisa <delweng@gmail.com>

* eth/gasestimator: fix potential overflow (#32255)

Improve binary search, preventing the potential overflow in certain L2 cases

* triedb/pathdb: fix an deadlock in history indexer (#32260)

Seems the `signal.result` was not sent back in shorten case, this will
cause a deadlock.

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* eth/catalyst: fix error message in ExecuteStatelessPayloadV4 (#32269)

Correct the error message in the ExecuteStatelessPayloadV4 function to
reference newPayloadV4 and the Prague fork, instead of incorrectly
referencing newPayloadV3 and Cancun.

This improves clarity during debugging and aligns the error message with
the actual function and fork being validated. No logic is changed.

---------

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>

* downloader: fix typos, grammar and formatting (#32288)

* ethclient/simulated: Fix flaky rollback test (#32280)

This PR addresses a flakiness in the rollback test discussed in
ethereum/go-ethereum#32252

I found `nonce` collision caused transactions occasionally fail to send.
I tried to change error message in the failed test like:

```
	if err = client.SendTransaction(ctx, signedTx); err != nil {
		t.Fatalf("failed to send transaction: %v, nonce: %d", err, signedTx.Nonce())
	}
```

and I occasionally got test failure with this message:

```
=== CONT  TestFlakyFunction/Run_#100
    rollback_test.go:44: failed to send transaction: already known, nonce: 0
--- FAIL: TestFlakyFunction/Run_#100 (0.07s)
```

Although `nonces` are obtained via `PendingNonceAt`, we observed that,
in rare cases (approximately 1 in 1000), two transactions from the same
sender end up with the same nonce. This likely happens because `tx0` has
not yet propagated to the transaction pool before `tx1` requests its
nonce. When the test succeeds, `tx0` and `tx1` have nonces `0` and `1`,
respectively. However, in rare failures, both transactions end up with
nonce `0`.

We modified the test to explicitly assign nonces to each transaction. By
controlling the nonce values manually, we eliminated the race condition
and ensured consistent behavior. After several thousand runs, the
flakiness was no longer reproducible in my local environment.

Reduced internal polling interval in `pendingStateHasTx()` to speed up
test execution without impacting stability. It reduces test time for
`TestTransactionRollbackBehavior` from about 7 seconds to 2 seconds.

* eth: fix typos and outdated comments (#32324)

* eth/filters: fix error when blockHash is used with fromBlock/toBlock (#31877)

This introduces an error when the filter has both `blockHash` and
`fromBlock`/`toBlock`, since these are mutually exclusive. Seems the
tests were actually returning `not found` error, which went undetected
since there was no check on the actual returned error in the test.

* core/state: delete storagePool further

* core: temporarily disable history pruning

* core: clear up useless StopPrefetcher

* ethdb: remove func HasAncient

* core/rawdb: remove MultiDatabase in OpenOptions

* core/rawdb: adapt the prune feature exsited in bsc

* core: fix temporarily disable history pruning

* core/state: not dump trie in fastnode

* core/state: add a todo to refactor triePrefetcher

* core/state: fix getting from cache when needBadSharedStorage

* core: run repair for txIndex loop

* core/vm: explict the configure of bigModExp precompile

* triedb: align code more closely with geth

* ethdb,trie: align code more closely with geth

* params: define more forks

* ethdb: add a todo to remove ItemAmountInAncient and AncientOffSet

* Deleted les

* Deleted light

* Replaced faucet code with latest version from bsc

* core/types: disable EIP-7594 in BSC (#3291)

* Fixed incValidatorBlockCount

* api.go: add retry for snapshots stale error (#3290)

* fix: set all chain tables to be prunable (#3294)

* Removed redundant metric code. Fixed snake8 fork name.

* core/fitermaps: fix final block logic

* Use epoch length from genesis instead of default value 200.

* Added back log

* fix: only enable EVN feature after node get synced (#3309)

to fix: bnb-chain/bsc#3303
the node will periodically failed to call stakehub before the node is synced

* consensus/parlia: ignore client version warning when in history sync (#3308)

* core/state: code clear up (#3313)

* worker: fix a trie prefetch corner case (#3314)

During mining phase, if a new block was just imported, TransferPrefetcher
could transfer a TriePrefetcher of previous block to the new block, which
would cause later error on OpenTrieStorage of the TriePrefetch routine.

* docs: update readme for release types (#3315)

* freezer: slow down freeze when live sync; (#3310)

* core/filtermaps: stop indexing if target block is pruned

* release: prepare for release v1.6.0-alpha (#3322)

* ci: fix truffer error (#3326)

solc-0.6.4 can not be downloaded from truffle solc-bin

* ci: ignore nancy failre of rs/cors@v1.8.2 (#3327)

It is an issue reported in rs/cors#170 and
fixed by rs/cors#171, which was included in release
v1.11.0(Apr 2024): https://github.com/rs/cors/releases/tag/v1.11.0

But v1.8.2 was released in Dec 2021, which may have a lot difference.
And this vulnerability is limitted only to RPC nodes with maliciously configuration
in config.tion:
[Node]
HTTPCors = ["<malicious cors>",...]

So instead of upgrade to v1.11.0+, simply add it to nancy ignore for now

* github: update issue template (#3328)

* miner: avoid to commit a bid twice (#3336)

* miner: avoid to commit a bid twice

* core: wait db writing before setting head

* miner: fix comment for tcount

* miner: improve warn log for committed work

* miner: add committed flag for environment

* miner: improve func commit

* eth/pebble: use NoSync as write mode (#3337)

* FilterMap: update bsc checkpoint file (#3332)

* Override defaultEpochLength with value from genesis config and use it in snapshot().

* eth/downloader: remove InsertHeaderChain to improve sync speed (#3324)

* core/rawdb: remove func AncientOffSet and ItemAmountInAncient (#3319)

* chore: fix some minor issues in comment (#3301)

* cmd/geth: remove subcmd hbss2pbss and insecure-prune-all (#3346)

* fix: discovery AyncFilter deadlock on shutdown (#3347)

* core: rework fast node (#3340)

* Don't overwrite snap.FrequencyRLP if it's already defined in snapshot()

* freezer: add debug log for out of bounds access (#3354)

* core/rawdb: align more code with upstream (#3348)

* log: lower the spam log level (#3357)

* release: prepare for release v1.6.1-beta (#3355)

* log: downgrade log level when header fetch failed (#3359)

* chore: fix SnapSyncWithBlobs UT issues; (#3362)

* cmd/utils: set journalfile default to true (#3361)

* core/systemcontracts: define fermiUpgrade (#3372)

* BEP-619: Short Block Interval Phase Three: 0.45 Seconds (#3367)

* ethapi: reject oversize storage keys before hex decode (#32750) (#3373)

Bail out of decodeHash when the raw hex string is longer than 32 byte before actually decoding.

* Implement BEP-592: Non-Consensus Based Block-Level Access List (#3374)

* BEP-590: Extended Voting Rules for Fast Finality Stability (#3368)

* BEP-590: Extended Voting Rules for Fast Finality Stability

* core/vote: update deadline for voting

* websocket: add `transactionReceipts` for receipts notification (#3363)

* miner/minerconfig: update config to adapt 100M gaslimit (#3388)

* miner/minerconfig: update config to adapt 100M gaslimit

* miner/minerconfig: update default GasCeil to 100M

* miner/minerconfig: update comment

* release: prepare for release v1.6.2 (#3386)

* chore: cache receipts (#3391)

* feat: implement incremental snapshot (#3390)

* build(deps): bump github.com/quic-go/quic-go from 0.48.2 to 0.49.1

Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.48.2 to 0.49.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](quic-go/quic-go@v0.48.2...v0.49.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.49.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: EVM execution opcode level optimization  (#3395)

* fix: add secrets config to nancy ci (#3398)

* consensus/parlia: set kAncestorGenerationDepth to 3 in BEP-590 (#3400)

* consensus/parlia: fix updateAttestation&improve assembleVoteAttestation (#3397)

* core/rawdb: fix WriteBAL (#3403)

* miner: validator not inturn backoff before mining (#3404)

* fix: change lock to read lock in legacypool (#3407)

* miner: add metrics for get pending txs (#3410)

* json-rpc-api.md: typo (#3409)

* eth: broadcast votes to evn peers regardless of deltaTdThreshold (#3415)

* cmd/geth: improve config for sentry nodes when init network (#3416)

* jsutil: update some parameter (#3414)

* p2p: define ProxyedNodeIds in Config (#3417)

* p2p: define ProxyedNodeIds in Config

* eth: downgrade log level for setProxyedPeers

* cmd/geth: sentry not send txs to validator

* cmd/geth: use static nodes when deploy without sentry

* cmd/geth: fix TestInitNetworkLocalhost

* eth: not broadcast txs directly to proxyed nodes

* miner: use latest block as pending block for simplicity (#3419)

* miner: use latest block as pending block for simplicity

* miner: delete pendingLogs

* miner: log time in header (#3422)

Co-authored-by: NathanBSC <122502194+NathanBSC@users.noreply.github.com>

* eth: increase the delta td threshold to broadcast votes (#3426)

* config: update BSC Testnet hardfork time: Ferimi (#3427)

expected Testnet Fermi hard fork time: 2025-11-10 02:25:00 AM UTC

* miner: improve prefetch mining by using cached reader (#3423)

* miner: improve prefetch mining by using cached reader

* core/state: handle err when create StateDB for prefetch

* core/state: use the same prefetcher when create state for prefetch

* core: check statedb

---------

Co-authored-by: NathanBSC <122502194+NathanBSC@users.noreply.github.com>

* revert: revert the nano check in parlia (#3436)

* eth: fix stuck when handleBlockBroadcast (#3435)

* build(deps): bump github.com/consensys/gnark-crypto (#3429)

Bumps [github.com/consensys/gnark-crypto](https://github.com/consensys/gnark-crypto) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/consensys/gnark-crypto/releases)
- [Changelog](https://github.com/Consensys/gnark-crypto/blob/v0.18.1/CHANGELOG.md)
- [Commits](Consensys/gnark-crypto@v0.18.0...v0.18.1)

---
updated-dependencies:
- dependency-name: github.com/consensys/gnark-crypto
  dependency-version: 0.18.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* internal/ethapi: fix eth_simulateV1 (#3433)

* eth/tracers: fix crasher in TraceCall with BlockOverrides (#3431)

* release: prepare for release v1.6.3 (#3437)

* Revert "Merge tag 'v1.5.19-feature-SI' into BLK-3623-pull-all-the-latest-changes-from-bsc"

This reverts commit 9405e8b660b855a80142886af78946a4ba343489, reversing
changes made to 00587bcb63a3551db2501d236e6da4716d791afd.

* Set static IPs for nodes to workaroud DNS resolution issue with bootnodes flag. go-ethereum#31208

* Updated chiliz related evm modifications to work with v1.6.0

* Fixed invalid FrequencyRLP issue in snapshot

* Moved pepper8RecipientAddress to common/pepper8. Updated state_transition::preCheck() to handle pepper8 transactions correctly.

* Reduced GetPepper8MintAmount log verbosity Info->Trace

* Removed redundant balace update code for system transactions from tracers

* Updated evm::Call() to call applyChilizInvocationEvmHook() for smart contract calls only. This fixes "incorrect number of top level calls" error when tracing EOA->EOA transfers.

* eth/tracers: Fixed traceBlock

* eth/tracers: Fixed all tracers for pepper8 & system txs

* Fixed lint errors

* go mod tidy

* Removed custom block distribution metric collection code

* upgrade golang from 1.21-alpine to 1.25.5-alpine

* Set version to 2.7.0

* Set genesis repo to v4.0.1

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Signed-off-by: Delweng <delweng@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Delweng <delweng@gmail.com>
Co-authored-by: shazam8253 <54690736+shazam8253@users.noreply.github.com>
Co-authored-by: shantichanal <158101918+shantichanal@users.noreply.github.com>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: buddho <galaxystroller@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: Matus Kysel <MatusKysel@users.noreply.github.com>
Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Stéphane Duchesneau <stephane.duchesneau@gmail.com>
Co-authored-by: Ceyhun Onur <ceyhun.onur@avalabs.org>
Co-authored-by: zsfelfoldi <zsfelfoldi@gmail.com>
Co-authored-by: chengehe <hechenge@yeah.net>
Co-authored-by: will-2012 <117156346+will-2012@users.noreply.github.com>
Co-authored-by: Forrest Kim <38067691+ForrestKim42@users.noreply.github.com>
Co-authored-by: Sun Tae, Kim <38067691+humblefirm@users.noreply.github.com>
Co-authored-by: nthumann <nthumanna@gmail.com>
Co-authored-by: clonemycode <168618167+clonemycode@users.noreply.github.com>
Co-authored-by: wayen <19421226+flywukong@users.noreply.github.com>
Co-authored-by: Zhou <DanialZhouMAX@gmail.com>
Co-authored-by: galaio <12880651+galaio@users.noreply.github.com>
Co-authored-by: maskpp <maskpp266@gmail.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Jared Wasinger <j-wasinger@hotmail.com>
Co-authored-by: findmyhappy <167661649+findmyhappy@users.noreply.github.com>
Co-authored-by: shangchenglumetro <shuang.cui@live.com>
Co-authored-by: rustfix <155627174+rustfix@users.noreply.github.com>
Co-authored-by: ianlv <168640168+ianlv@users.noreply.github.com>
Co-authored-by: zzzckck <152148891+zzzckck@users.noreply.github.com>
Co-authored-by: Hanlu <liangmulu@outlook.com>
Co-authored-by: formless <213398294+allformless@users.noreply.github.com>
Co-authored-by: 荆长逯 <jingchanglu@outlook.com>
Co-authored-by: kaifulee <52813034+kaifulee@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anna Smith <155628741+socialsister@users.noreply.github.com>
Co-authored-by: Eric <45141191+zlacfzy@users.noreply.github.com>
Co-authored-by: tanhuaan <tanhuaan@outlook.com>
Co-authored-by: Annie <108039750+annielz@users.noreply.github.com>
Co-authored-by: cbh876 <3930922419@qq.com>
Co-authored-by: Sunny <sunny2022.za@gmail.com>
Co-authored-by: constwz <122766871+constwz@users.noreply.github.com>
Co-authored-by: Bosul Mun <bsbs8645@snu.ac.kr>
Co-authored-by: FT <140458077+zeevick10@users.noreply.github.com>
Co-authored-by: steven <wangpeculiar@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
Co-authored-by: gzeon <h@arry.io>
Co-authored-by: Galoretka <galoretochka@gmail.com>
Co-authored-by: Tomás Andróil <tomasandroil@gmail.com>
Co-authored-by: kashitaka <takao.w9st.kashima@xica.net>
Co-authored-by: VM <112189277+sysvm@users.noreply.github.com>
Co-authored-by: alex-10072 <ttalex101@gmail.com>
Co-authored-by: deepdring <deepdrink@icloud.com>
Co-authored-by: lx <92799281+brilliant-lx@users.noreply.github.com>
Co-authored-by: david-ppp <164000748+david-ppp@users.noreply.github.com>
Co-authored-by: Roshan <48975233+pythonberg1997@users.noreply.github.com>
Co-authored-by: NathanBSC <122502194+NathanBSC@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant