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

Upstream 2.60.2 #419

Merged
merged 44 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
ce8b757
fix Consensus specification tests CI (#10391) (#10396)
taratorio May 17, 2024
c2934dc
rpc/handler: do not append null to stream when json may be valid (#10…
taratorio May 18, 2024
6d4a614
Fixed Bor Log appearing on Ethereum Mainnet (#10405) (#10420)
taratorio May 20, 2024
7fced9f
fix gas price not right problem (#10456)
yperbasis May 24, 2024
c0be07d
eth_estimateGas: default feeCap to base fee (#10499)
yperbasis May 27, 2024
2e500bd
Add flag for bor waypoint types (#10501)
yperbasis May 27, 2024
b0df97f
try to fix 'method handler crashed' for debug_traceCall of #9090 (#10…
yperbasis May 27, 2024
7e1adef
diagnostics: cherry pick speedtest disable (#10509)
dvovk May 27, 2024
7b5653b
Enable DNS p2p discovery on holesky (#10507)
yperbasis May 27, 2024
d3af203
fix eth_call 'method handler crashed' error when tx has set maxFeePer…
yperbasis May 27, 2024
608a940
e2: remove overlapped files only after merge (#10487)
AskAlexSharov May 28, 2024
e9840ad
add flag checking for pruning waypoints (#10508)
yperbasis May 28, 2024
9501f93
p2p/sentry: sentry doesn't start with ErrNoHead (#10454) (#10523)
battlmonstr May 28, 2024
128f015
add lock to purgeMilestoneIDsList (#10524)
yperbasis May 28, 2024
f13762b
polygon/heimdall: fix checkpoint json marshalling (#10530)
taratorio May 28, 2024
b672fcb
Fix capacity for immediate appends (#10539)
yperbasis May 29, 2024
c33912c
core/vm: set tracer-observable value of a delegatecall to match paren…
AskAlexSharov May 29, 2024
7a39ee5
params: version 2.60.1 (#10555)
yperbasis May 30, 2024
efed89b
blobGasPrice should be marshalled as hex (#10571)
yperbasis May 31, 2024
c3fcd76
Caplin: Fixed reforwarding of Bls Execution changes (#10577)
yperbasis May 31, 2024
2e3d061
Caplin: Proper "Normalization" of length of ForkVersions to 8 hex cha…
yperbasis May 31, 2024
b29d137
Caplin: Update BlobSidecars Beacon API endpoint to the latest specs (…
yperbasis May 31, 2024
5bbcc7a
bor blocks retire: infinity loop fix (#10596)
AskAlexSharov Jun 3, 2024
9471c44
txpool: EIP-3860 should only apply to create transactions (#10609)
yperbasis Jun 4, 2024
d04796e
qa-tests: update 2.60.x test workflows from main (#10627)
mriccobene Jun 5, 2024
2222a11
Fix potential p2p shutdown hangup (#10626)
mh0lt Jun 10, 2024
c637e37
downloader: Number of DNS requests seem excessive (#5145) (#10739)
battlmonstr Jun 13, 2024
fabed0c
rpc: Fix incorrect txfeecap (#10643)
shohamc1 Jun 14, 2024
cac1c2d
downloader: don't block erigon startup if devs deploy new hashes (of …
AskAlexSharov Jun 17, 2024
1704658
skip hidden files when list files with given extension (#10654)
AskAlexSharov Jun 17, 2024
4fb2ef4
qa-tests: backport to release/2.60 improvements made to e3 github act…
mriccobene Jun 18, 2024
c19b034
e2: more snaps (all networks) (#10794)
AskAlexSharov Jun 20, 2024
847d786
e2: configurable hashers amount (#10785)
AskAlexSharov Jun 21, 2024
79d0182
Revert "e2: configurable hashers amount" (#10834)
AskAlexSharov Jun 21, 2024
2e590ce
diagnostics: move E3 changes to E2 (#10806)
dvovk Jun 21, 2024
e8c5632
Downloader: fix staticpeers flag (#10798)
dvovk Jun 21, 2024
478b5b2
Fix NewPayload Validation during header download (#10837)
yperbasis Jun 21, 2024
478d144
e2: mainnet blob 9.3M (#10842)
AskAlexSharov Jun 21, 2024
2fcf653
Fix gas fee calculation for debug calls (#10880)
yperbasis Jun 24, 2024
aa591fd
Revert "eth_estimateGas: default feeCap to base fee (#10499)" (#10904)
yperbasis Jun 25, 2024
2f41075
params: version 2.60.2 (#10905)
yperbasis Jun 25, 2024
c64b0cf
Merge remote-tracking branch 'ledgerwatch/release/2.60' into upstream…
blxdyx Jun 27, 2024
bf8259c
upstream v2.60.2
blxdyx Jun 27, 2024
dd79258
fix ci lint
blxdyx Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/qa-clean-exit-block-downloading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ on:
workflow_dispatch: # Run manually

jobs:
long-running-test:
clean-exit-bd-test:
runs-on: [self-hosted, Erigon2]
env:
ERIGON_REFERENCE_DATA_DIR: /opt/erigon-versions/reference-version/datadir
ERIGON_TESTBED_DATA_DIR: /opt/erigon-testbed/datadir
ERIGON_QA_PATH: /home/qarunner/erigon-qa
WORKING_TIME_SECONDS: 600
CHAIN: mainnet

steps:
- name: Check out repository
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
set +e # Disable exit on error

# Run Erigon, send ctrl-c and check logs
python3 $ERIGON_QA_PATH/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $WORKING_TIME_SECONDS
python3 $ERIGON_QA_PATH/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $WORKING_TIME_SECONDS Erigon2

# Capture monitoring script exit status
test_exit_status=$?
Expand Down Expand Up @@ -85,7 +86,13 @@ jobs:
if: steps.test_step.outputs.test_executed == 'true'
env:
TEST_RESULT: ${{ steps.test_step.outputs.TEST_RESULT }}
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --test_name clean-exit-block-downloading --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json
run: |
db_version=$(python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/prod_info.py $ERIGON_REFERENCE_DATA_DIR/../production.ini production erigon_repo_commit)
if [ -z "$db_version" ]; then
db_version="no-version"
fi

python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --branch ${{ github.ref_name }} --test_name clean-exit-block-downloading --chain $CHAIN --runner ${{ runner.name }} --db_version $db_version --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json

- name: Upload test results
if: steps.test_step.outputs.test_executed == 'true'
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/qa-clean-exit-snapshot-downloading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ on:
workflow_dispatch: # Run manually

jobs:
long-running-test:
clean-exit-sd-test:
runs-on: self-hosted
env:
ERIGON_DATA_DIR: ${{ github.workspace }}/erigon_data
ERIGON_QA_PATH: /home/qarunner/erigon-qa
WORKING_TIME_SECONDS: 600
CHAIN: mainnet

steps:
- name: Check out repository
Expand All @@ -45,7 +46,7 @@ jobs:
set +e # Disable exit on error

# Run Erigon, send ctrl-c and check logs
python3 $ERIGON_QA_PATH/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_DATA_DIR $WORKING_TIME_SECONDS
python3 $ERIGON_QA_PATH/test_system/qa-tests/clean-exit/run_and_check_clean_exit.py ${{ github.workspace }}/build/bin $ERIGON_DATA_DIR $WORKING_TIME_SECONDS Erigon2

# Capture monitoring script exit status
test_exit_status=$?
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
if: steps.test_step.outputs.test_executed == 'true'
env:
TEST_RESULT: ${{ steps.test_step.outputs.TEST_RESULT }}
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --test_name clean-exit-snapshot-downloading --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --branch ${{ github.ref_name }} --test_name clean-exit-snapshot-downloading --chain $CHAIN --runner ${{ runner.name }} --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json

- name: Upload test results
if: steps.test_step.outputs.test_executed == 'true'
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/qa-snap-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ on:
workflow_dispatch: # Run manually

jobs:
long-running-test:
snap-download-test:
runs-on: [self-hosted, Erigon2]
timeout-minutes: 800
env:
ERIGON_DATA_DIR: ${{ github.workspace }}/erigon_data
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TRACKING_TIME_SECONDS: 14400 # 4 hours
TOTAL_TIME_SECONDS: 28800 # 8 hours
TOTAL_TIME_SECONDS: 43200 # 12 hours
CHAIN: mainnet

steps:
- name: Check out repository
Expand All @@ -44,7 +45,7 @@ jobs:
set +e # Disable exit on error

# Run Erigon, monitor snapshot downloading and check logs
python3 $ERIGON_QA_PATH/test_system/qa-tests/snap-download/run_and_check_snap_download.py ${{ github.workspace }}/build/bin $ERIGON_DATA_DIR $TOTAL_TIME_SECONDS
python3 $ERIGON_QA_PATH/test_system/qa-tests/snap-download/run_and_check_snap_download.py ${{ github.workspace }}/build/bin $ERIGON_DATA_DIR $TOTAL_TIME_SECONDS Erigon2 $CHAIN

# Capture monitoring script exit status
test_exit_status=$?
Expand Down Expand Up @@ -81,14 +82,14 @@ jobs:
if: steps.test_step.outputs.test_executed == 'true'
env:
TEST_RESULT: ${{ steps.test_step.outputs.TEST_RESULT }}
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --test_name snap-download --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --branch ${{ github.ref_name }} --test_name snap-download --chain $CHAIN --runner ${{ runner.name }} --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result-$CHAIN.json

- name: Upload test results
if: steps.test_step.outputs.test_executed == 'true'
uses: actions/upload-artifact@v4
with:
name: test-results
path: ${{ github.workspace }}/result.json
path: ${{ github.workspace }}/result-${{ env.CHAIN }}.json

- name: Action for Success
if: steps.test_step.outputs.TEST_RESULT == 'success'
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/qa-tip-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ on:
workflow_dispatch: # Run manually

jobs:
long-running-test:
tip-tracking-test:
runs-on: [self-hosted, Erigon2]
timeout-minutes: 600
env:
ERIGON_REFERENCE_DATA_DIR: /opt/erigon-versions/reference-version/datadir
ERIGON_TESTBED_DATA_DIR: /opt/erigon-testbed/datadir
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TRACKING_TIME_SECONDS: 14400 # 4 hours
TOTAL_TIME_SECONDS: 28800 # 8 hours
CHAIN: mainnet

steps:
- name: Check out repository
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
# 1. Launch the testbed Erigon instance
# 2. Allow time for the Erigon to achieve synchronization
# 3. Begin timing the duration that Erigon maintains synchronization
python3 $ERIGON_QA_PATH/test_system/qa-tests/tip-tracking/run_and_check_tip_tracking.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $TRACKING_TIME_SECONDS $TOTAL_TIME_SECONDS
python3 $ERIGON_QA_PATH/test_system/qa-tests/tip-tracking/run_and_check_tip_tracking.py ${{ github.workspace }}/build/bin $ERIGON_TESTBED_DATA_DIR $TRACKING_TIME_SECONDS $TOTAL_TIME_SECONDS Erigon2 $CHAIN

# Capture monitoring script exit status
test_exit_status=$?
Expand Down Expand Up @@ -87,14 +89,20 @@ jobs:
if: steps.test_step.outputs.test_executed == 'true'
env:
TEST_RESULT: ${{ steps.test_step.outputs.TEST_RESULT }}
run: python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --test_name tip-tracking --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result.json
run: |
db_version=$(python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/prod_info.py $ERIGON_REFERENCE_DATA_DIR/../production.ini production erigon_repo_commit)
if [ -z "$db_version" ]; then
db_version="no-version"
fi

python3 $ERIGON_QA_PATH/test_system/qa-tests/uploads/upload_test_results.py --repo erigon --commit $(git rev-parse HEAD) --branch ${{ github.ref_name }} --test_name tip-tracking --chain $CHAIN --runner ${{ runner.name }} --db_version $db_version --outcome $TEST_RESULT --result_file ${{ github.workspace }}/result-$CHAIN.json

- name: Upload test results
if: steps.test_step.outputs.test_executed == 'true'
uses: actions/upload-artifact@v4
with:
name: test-results
path: ${{ github.workspace }}/result.json
path: ${{ github.workspace }}/result-${{ env.CHAIN }}.json

- name: Action for Success
if: steps.test_step.outputs.TEST_RESULT == 'success'
Expand Down
Binary file added cmd/diag/_images/dbs/example_databases.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cmd/diag/_images/dbs/example_databases_name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cmd/diag/_images/local_connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cmd/diag/_images/stages/example_stages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading