-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improvement of benchmark tests for addTx(txpool) #277
Improvement of benchmark tests for addTx(txpool) #277
Conversation
txpool/txpool_test.go
Outdated
defer wg.Done() | ||
|
||
errAdd := pool.addTx(local, tx) | ||
if err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am against this kind of testing, it is not really deterministic, since we are expecting no error, but if it happens it should be this kind of error. I don't think this test was expecting an error in the first place, but it expected that transaction would be replaced.
I suggest either changing the test so it does not return the ReplacementUnderpriced
, or reverting it to old behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the test stays this way, I believe this is an error that we need to check.
if err != nil { | |
if errAdd != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with what was previously said. Maybe a compromise is to count the exact number of applied transactions after sync (transactions don't have repeated nonce). Of course, it would still have the ability to reject a parallel transaction with a worse price, which is expected and is a realistic picture for measuring this type of performance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM.
However, I'm wondering should we have single goroutine sub tests for the following test cases and would it be beneficial:
- "benchmark multiple accounts add one tx"
- "benchmark multiple accounts add multiple transactions"
The tests would be the same as they were before, but I agree to keep the multiple goroutines test cases as well.
} | ||
|
||
wg.Wait() | ||
assert.Len(b, pool.index.all, (int)(differentNonce*accountNumber)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove this check. We don't need it.
* `RoundChange` message size logging (Ethernal-Tech#286) * logging * fix * more logs * code reorg * ut fix * add writer to withdraw erc20 command tx relayer * ut fix * TestBatchTx_SingleAccount use contect timeout instead of time.After * Account management implementation (Ethernal-Tech#239) * account management keystore * added manager * some lint fix * feed test * linters and test fix * lint fix * test fix * test fix * test fix * to abs path * custom json unmarshall * commands added * unnecessary files deletion * interface unnecessary functions * manager integration * skip TestUpdatedKeyFileContents * introduction of external signer * lint fix * lint * lint again * personal endpoint * To one key file * keys to one file and account_cache_test fix * keystore-test fix * comment delete * lint fix * fix personal * linter and personal * lint * test fix and remove panic * test fix * unnecessary files deletion * jsonrpc functions not exposed * command fix * mixed case deleted * fix some comments * url deleted * file cache delted * comment fix * forks in time fix * in-house pub sub * lint and better fork managemt, also interface for manager * lint * some minor changes * Rebase * fix for tests * small code changes * code optimizations * lint fix * commands update * comment fix * Update accounts/event/event_handler_test.go TestMultipleSubscribers optimization Co-authored-by: oliverbundalo <158565516+oliverbundalo@users.noreply.github.com> * comment fix and rename keyStore interface functions * refresh wallets optimization * comments and change names * small changes * lint fix * lint fix 2 * lint fix 2 * tests fix * lint again * switch to if in personal * fuzz test fix * manager test * manager unlock change * manager test optimziation * readme for account management * to mermaid * readme fix --------- Co-authored-by: Goran Rojovic <goran.rojovic@ethernal.tech> Co-authored-by: oliverbundalo <158565516+oliverbundalo@users.noreply.github.com> * Improvement of benchmark tests for addTx(txpool) (Ethernal-Tech#277) * Improvement of Benchmark tests for addTx(txpool) * lint fix * CR fix * CR fix * lint fix * fix path account management (Ethernal-Tech#291) * fix path account management * lint fix * delete default path * lint fix * Rename go-ibft Message to IbftMessage (Ethernal-Tech#292) * Bump github.com/libp2p/go-libp2p-pubsub from 0.10.1 to 0.11.0 Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.10.1 to 0.11.0. - [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases) - [Commits](libp2p/go-libp2p-pubsub@v0.10.1...v0.11.0) --- updated-dependencies: - dependency-name: github.com/libp2p/go-libp2p-pubsub dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update libp2p to the latest version * Add Sanity Check Tests (Ethernal-Tech#288) * Add Sanity Check Tests * Increase ldb write benchmark time for 1s * Minor fixes * sanity test err fix * small fixes in sanity check tests * Change `epoch_reward` value * Change `reward_wallet_balance` value * sanity check tests fix * lint fix * sanity check tests fix * Fix `ec2` filter --------- Co-authored-by: Oliver Bundalo <oliver.bundalo@ethernal.tech> Co-authored-by: Goran Rojovic <goran.rojovic@ethernal.tech> * Implementation of eth_signTransaction JSON-RPC function (Ethernal-Tech#290) * eth_signTransaction implementation * deletion of unnecessary parameter from decodeTxn * fix for debug_endpoint * fix for tests * return value fix * fixes * comments fix --------- Co-authored-by: Goran Rojovic <goran.rojovic@ethernal.tech> * Bump github.com/hashicorp/go-retryablehttp from 0.7.6 to 0.7.7 (Ethernal-Tech#293) Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.6 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.6...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Implementation of `eth_sendTransaction` (Ethernal-Tech#294) * eth_sendTransaction * comments fix * eth_sign (Ethernal-Tech#295) * TestE2E_Bridge_NonMintableERC20Token_WithPremine fix * PR comment fix * Use Ethernal-Tech ethgo dependency (Ethernal-Tech#298) * Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.64.0 to 1.65.1 Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.64.0 to 1.65.1. --- updated-dependencies: - dependency-name: gopkg.in/DataDog/dd-trace-go.v1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github.com/multiformats/go-multiaddr from 0.12.4 to 0.13.0 (Ethernal-Tech#300) Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.12.4 to 0.13.0. - [Release notes](https://github.com/multiformats/go-multiaddr/releases) - [Commits](multiformats/go-multiaddr@v0.12.4...v0.13.0) --- updated-dependencies: - dependency-name: github.com/multiformats/go-multiaddr dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/tools Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.21.1-0.20240508182429-e35e4ccd0d2d to 0.22.0. - [Release notes](https://github.com/golang/tools/releases) - [Commits](https://github.com/golang/tools/commits/v0.22.0) --- updated-dependencies: - dependency-name: golang.org/x/tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github.com/erigontech/mdbx-go from 0.38.0 to 0.38.4 (Ethernal-Tech#301) Bumps [github.com/erigontech/mdbx-go](https://github.com/erigontech/mdbx-go) from 0.38.0 to 0.38.4. - [Release notes](https://github.com/erigontech/mdbx-go/releases) - [Changelog](https://github.com/erigontech/mdbx-go/blob/master/CHANGES.md) - [Commits](erigontech/mdbx-go@v0.38.0...v0.38.4) --- updated-dependencies: - dependency-name: github.com/erigontech/mdbx-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/aws/aws-sdk-go from 1.53.14 to 1.54.12 Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.53.14 to 1.54.12. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Commits](aws/aws-sdk-go@v1.53.14...v1.54.12) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.8.0...v1.8.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github.com/schollz/progressbar/v3 from 3.14.3 to 3.14.4 (Ethernal-Tech#304) Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.14.3 to 3.14.4. - [Release notes](https://github.com/schollz/progressbar/releases) - [Commits](schollz/progressbar@v3.14.3...v3.14.4) --- updated-dependencies: - dependency-name: github.com/schollz/progressbar/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (Ethernal-Tech#306) Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/docker/docker from 26.1.3+incompatible to 27.0.3+incompatible (Ethernal-Tech#308) * Bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.1.3+incompatible to 27.0.3+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v26.1.3...v27.0.3) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Build fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefan Negovanović <stefan@ethernal.tech> * Bump cloud.google.com/go/secretmanager from 1.13.1 to 1.13.3 (Ethernal-Tech#310) Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.13.1 to 1.13.3. - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](googleapis/google-cloud-go@asset/v1.13.1...redis/v1.13.3) --- updated-dependencies: - dependency-name: cloud.google.com/go/secretmanager dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Implementation of the Accounts method (Ethernal-Tech#311) * Nightly Blade Healthcheck (Ethernal-Tech#312) * Gracefully close bolt DB * UT fix * Bump google.golang.org/grpc from 1.64.0 to 1.64.1 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.64.0...v1.64.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * TestHeadStream_Concurrent UT fix * Fixed error msg * Alibaba SSM * Alibaba SSM * Fixed SetSecret * GetSecret needs decryption * Static analysis fix * Linter fixes * PR comments fixed * Fixes aws copy paste typo * Comments fixed * Optional credentials * RoleName * Bump github.com/docker/docker (Ethernal-Tech#318) Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.0.3+incompatible to 27.1.0+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v27.0.3...v27.1.0) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add socket configuration for network deployment (Ethernal-Tech#319) * Add socket configuration * Revert deployment branch to `main` * Add `CONFIG_SOCKET` as variable * Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (Ethernal-Tech#320) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.25.0. - [Commits](golang/crypto@v0.24.0...v0.25.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.65.1 to 1.66.0 (Ethernal-Tech#321) Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.65.1 to 1.66.0. --- updated-dependencies: - dependency-name: gopkg.in/DataDog/dd-trace-go.v1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/btcsuite/btcd/btcec/v2 from 2.3.3 to 2.3.4 (Ethernal-Tech#325) * Bump google.golang.org/grpc from 1.64.1 to 1.65.0 (Ethernal-Tech#322) * Bump github.com/sethvargo/go-retry from 0.2.4 to 0.3.0 (Ethernal-Tech#323) * Bump github.com/docker/docker (Ethernal-Tech#324) * Bump golang.org/x/tools from 0.22.0 to 0.23.0 (Ethernal-Tech#326) * Bump github.com/holiman/uint256 from 1.2.4 to 1.3.1 (Ethernal-Tech#327) * Bump github.com/aws/aws-sdk-go from 1.54.12 to 1.55.5 (Ethernal-Tech#330) * Bump cloud.google.com/go/secretmanager from 1.13.3 to 1.13.5 (Ethernal-Tech#328) Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.13.3 to 1.13.5. - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](googleapis/google-cloud-go@redis/v1.13.3...automl/v1.13.5) --- updated-dependencies: - dependency-name: cloud.google.com/go/secretmanager dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/schollz/progressbar/v3 from 3.14.4 to 3.14.5 Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.14.4 to 3.14.5. - [Release notes](https://github.com/schollz/progressbar/releases) - [Commits](schollz/progressbar@v3.14.4...v3.14.5) --- updated-dependencies: - dependency-name: github.com/schollz/progressbar/v3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Format go.mod * LT gossip msg size -> 16 MB * Alibaba role name * Added Aliyun security token * creds logging * Removed Aliyun creds logging * Introduction of effectiveGasPrice (Ethernal-Tech#333) * implementation of effective gas price * unit test and lint fix * comment fix * lint fix * comment fix * AliCloud access keys * Code clean up * Set server name for logging file name * chainID removed since it's not used * Creating method debug_traceBlockFromFile (Ethernal-Tech#334) * Access keys have higher priority * Lint fix * PR comment fix * Gossip UT servers=6 * Implementation of the debug_GetRawBlock method (Ethernal-Tech#339) * Implementation of the debug_GetRawBlock method * CR fix * Implementation of the debug_GetRawHeader method (Ethernal-Tech#340) * Implementation of the debug_GetRawHeader method * Lint fix * cr fix * Implementation of the debug_getRawTransaction method (Ethernal-Tech#342) * Implementation of the debug_getRawTransaction method * Simplification * CR fix --------- Co-authored-by: Stefan Negovanović <stefan@ethernal.tech> * Implementation of the debug_getRawReceipts method (Ethernal-Tech#344) * Implementation of the debug_getRawReceipts method * CR fix * Adding new debugging methods (Ethernal-Tech#338) * Adding new debugging methods * CR fix * Adding a method debug_stacks * CR fix * cr fix * cr fix * Gossip msg size -> 32 MB * Format go.mod * CR fix * CR fix * Rename the CPUProfile and optimize lowering first case function * Rename and add comment * Suppress stylecheck linter * CR fix --------- Co-authored-by: Oliver Bundalo <oliver.bundalo@ethernal.tech> Co-authored-by: Stefan Negovanović <stefan@ethernal.tech> * Implementation of the debug_goTrace and debug_printBlock methods (Ethernal-Tech#345) * Implementation of the debug_goTrace and debug_printBlock methods * CR fix * Bump github.com/alibabacloud-go/darabonba-openapi/v2 from 2.0.8 to 2.0.9 (Ethernal-Tech#346) * Bump google.golang.org/grpc from 1.65.0 to 1.66.0 (Ethernal-Tech#347) * Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.2 (Ethernal-Tech#348) * Bump github.com/schollz/progressbar/v3 from 3.14.5 to 3.14.6 (Ethernal-Tech#349) * Bump golang.org/x/tools from 0.23.0 to 0.24.0 (Ethernal-Tech#354) * Bump github.com/aliyun/credentials-go from 1.3.6 to 1.3.9 (Ethernal-Tech#361) * Bump github.com/libp2p/go-libp2p-pubsub from 0.11.0 to 0.12.0 (Ethernal-Tech#359) * Bump github.com/alibabacloud-go/oos-20190601/v4 from 4.1.2 to 4.2.2 (Ethernal-Tech#353) * Bump github.com/docker/docker (Ethernal-Tech#350) * Bump cloud.google.com/go/secretmanager from 1.13.5 to 1.14.0 Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.13.5 to 1.14.0. - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md) - [Commits](googleapis/google-cloud-go@automl/v1.13.5...kms/v1.14.0) --- updated-dependencies: - dependency-name: cloud.google.com/go/secretmanager dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump github.com/envoyproxy/protoc-gen-validate from 1.0.4 to 1.1.0 Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 1.0.4 to 1.1.0. - [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases) - [Changelog](https://github.com/bufbuild/protoc-gen-validate/blob/main/.goreleaser.yaml) - [Commits](bufbuild/protoc-gen-validate@v1.0.4...v1.1.0) --- updated-dependencies: - dependency-name: github.com/envoyproxy/protoc-gen-validate dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0 Bumps gopkg.in/DataDog/dd-trace-go.v1 from 1.66.0 to 1.67.0. --- updated-dependencies: - dependency-name: gopkg.in/DataDog/dd-trace-go.v1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix for gasprice UT * Bump github.com/opencontainers/runc from 1.1.13 to 1.1.14 Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.13 to 1.1.14. - [Release notes](https://github.com/opencontainers/runc/releases) - [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md) - [Commits](opencontainers/runc@v1.1.13...v1.1.14) --- updated-dependencies: - dependency-name: github.com/opencontainers/runc dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Gossip UT, wait before pubsub publish * Bump Go 1.22 (Ethernal-Tech#362) * Format go.mod * Bump the go version to 1.22 * Use the GOLANG_VERSION var in the GH workflows * Bump go.etcd.io/bbolt from 1.3.10 to 1.3.11 (Ethernal-Tech#352) Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) from 1.3.10 to 1.3.11. - [Release notes](https://github.com/etcd-io/bbolt/releases) - [Commits](etcd-io/bbolt@v1.3.10...v1.3.11) --- updated-dependencies: - dependency-name: go.etcd.io/bbolt dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/libp2p/go-libp2p-kbucket from 0.6.3 to 0.6.4 (Ethernal-Tech#351) Bumps [github.com/libp2p/go-libp2p-kbucket](https://github.com/libp2p/go-libp2p-kbucket) from 0.6.3 to 0.6.4. - [Release notes](https://github.com/libp2p/go-libp2p-kbucket/releases) - [Commits](libp2p/go-libp2p-kbucket@v0.6.3...v0.6.4) --- updated-dependencies: - dependency-name: github.com/libp2p/go-libp2p-kbucket dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix Load Tests in `nightly` build (Ethernal-Tech#373) * Remove `apt-get install` in Load Test workflow (Ethernal-Tech#377) * Change CLA to use `node v20` (Ethernal-Tech#378) * Change CLA to use `node v20` * Increase mdbx write benchmark time due to go 1.22 --------- Co-authored-by: Oliver Bundalo <oliver.bundalo@ethernal.tech> * Init logs slice in logFilter * Implementation of the debug_accountRange and debug_dumpBlock methods (Ethernal-Tech#369) * Implementation of the debug_accountRange and debug_dumpBlock methods * CR fix and UT * CR Fix * Bump github.com/alibabacloud-go/tea-utils/v2 from 2.0.6 to 2.0.7 (Ethernal-Tech#397) Bumps [github.com/alibabacloud-go/tea-utils/v2](https://github.com/alibabacloud-go/tea-utils) from 2.0.6 to 2.0.7. - [Release notes](https://github.com/alibabacloud-go/tea-utils/releases) - [Changelog](https://github.com/alibabacloud-go/tea-utils/blob/master/ChangeLog.txt) - [Commits](alibabacloud-go/tea-utils@v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: github.com/alibabacloud-go/tea-utils/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/schollz/progressbar/v3 from 3.14.6 to 3.16.0 (Ethernal-Tech#396) Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.14.6 to 3.16.0. - [Release notes](https://github.com/schollz/progressbar/releases) - [Commits](schollz/progressbar@v3.14.6...v3.16.0) --- updated-dependencies: - dependency-name: github.com/schollz/progressbar/v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/docker/docker (Ethernal-Tech#394) Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.2.0+incompatible to 27.3.1+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v27.2.0...v27.3.1) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump google.golang.org/grpc from 1.66.0 to 1.67.1 (Ethernal-Tech#392) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.0 to 1.67.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.66.0...v1.67.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.4 (Ethernal-Tech#388) Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.2 to 1.20.4. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](prometheus/client_golang@v1.20.2...v1.20.4) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/alibabacloud-go/darabonba-openapi/v2 (Ethernal-Tech#389) Bumps [github.com/alibabacloud-go/darabonba-openapi/v2](https://github.com/alibabacloud-go/darabonba-openapi) from 2.0.9 to 2.0.10. - [Release notes](https://github.com/alibabacloud-go/darabonba-openapi/releases) - [Changelog](https://github.com/alibabacloud-go/darabonba-openapi/blob/master/ChangeLog.txt) - [Commits](alibabacloud-go/darabonba-openapi@v2.0.9...v2.0.10) --- updated-dependencies: - dependency-name: github.com/alibabacloud-go/darabonba-openapi/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/hashicorp/vault/api from 1.14.0 to 1.15.0 (Ethernal-Tech#385) * Bump github.com/hashicorp/vault/api from 1.14.0 to 1.15.0 Bumps [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) from 1.14.0 to 1.15.0. - [Release notes](https://github.com/hashicorp/vault/releases) - [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md) - [Commits](hashicorp/vault@v1.14.0...v1.15.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/vault/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Format go.mod --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stefan Negovanović <stefan@ethernal.tech> * Bump golang.org/x/crypto from 0.26.0 to 0.27.0 (Ethernal-Tech#395) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.27.0. - [Commits](golang/crypto@v0.26.0...v0.27.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump cloud.google.com/go/secretmanager from 1.14.0 to 1.14.1 (Ethernal-Tech#390) Bumps [cloud.google.com/go/secretmanager](https://github.com/googleapis/google-cloud-go) from 1.14.0 to 1.14.1. - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md) - [Commits](googleapis/google-cloud-go@kms/v1.14.0...dlp/v1.14.1) --- updated-dependencies: - dependency-name: cloud.google.com/go/secretmanager dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 (Ethernal-Tech#393) Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.55.0 to 1.56.0. - [Release notes](https://github.com/valyala/fasthttp/releases) - [Commits](valyala/fasthttp@v1.55.0...v1.56.0) --- updated-dependencies: - dependency-name: github.com/valyala/fasthttp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * replace armon dependency with hashicorp * Implementation of the debug_getAccessibleState and debug_dbGet methods (Ethernal-Tech#398) * Implementation of the debug_getAccessibleState and debug_dbGet methods * UT and lint fix * UT fix * CR fix * CR fix * Merge NewSnapshot and NewSnapshotAt, remove unused functions and add comments * Fix the UT * CR fix * Cr fix --------- Co-authored-by: Stefan Negovanović <stefan@ethernal.tech> * Implementation of the debug_intermediateRoots method (Ethernal-Tech#399) * Implementation of the debug_intermediateRoots method * UT * TestRunDial unskip * CR fix --------- Co-authored-by: Oliver Bundalo <oliver.bundalo@ethernal.tech> * Reward distribution fix (Ethernal-Tech#404) * fix * comments fix * Upgrade the linter version and fix existing warnings (Ethernal-Tech#405) * Upgrade the linter version * Fix linter errors (part 1) * Scan whole files and all the codebase * Lint fixes (part 1) * Fix lint (part 2) * Disable G115 gosec linter * Fix and suppress lint (part 3) * Rename variables, address predeclared lint (part 4) * Lint (part 5) and UT fix * Remove --whole-files flag * lint fixes * revert * revert back --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Goran Rojovic <100121253+goran-ethernal@users.noreply.github.com> Co-authored-by: Oliver Bundalo <oliver.bundalo@ethernal.tech> Co-authored-by: oliverbundalo <158565516+oliverbundalo@users.noreply.github.com> Co-authored-by: Dušan Nosović <118283942+dusannosovic-ethernal@users.noreply.github.com> Co-authored-by: Goran Rojovic <goran.rojovic@ethernal.tech> Co-authored-by: novosandara <160175841+novosandara@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Branislav Kojic <branislav.kojic@ethernal.tech> Co-authored-by: Stefan Negovanović <93934272+Stefan-Ethernal@users.noreply.github.com> Co-authored-by: Stefan Negovanović <stefan@ethernal.tech>
Description
Improved Benchmark AddTx test
Changes include
Breaking changes
Checklist
Testing
Manual tests
Documentation update
Additional comments