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 develop (v0.4.0-beta-candidate) to master for v0.4.0 #904

Merged
merged 211 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
b1ba97c
Create MVHashMap and use it StateDB
cffls Jul 6, 2022
bbcc6dd
Parallel state processor
cffls Jul 16, 2022
61accb0
Move fee burning and tipping out of state transition to reduce read/w…
cffls Jul 26, 2022
ab3ebeb
Re-execute parallel tasks when there is a read in coinbase or burn ad…
cffls Jul 27, 2022
f7bd7ca
Txn prioritizer implemented using mutex map (#487)
pratikspatil024 Aug 19, 2022
4507b2e
added getReadMap and getWriteMap (#473)
pratikspatil024 Aug 19, 2022
c36ad88
Block-stm optimization
cffls Aug 8, 2022
f7c041f
Do not write entire objects directly when applying write set in blockstm
cffls Sep 6, 2022
d107c18
fixed a small bug in the Report function (#530)
pratikspatil024 Sep 27, 2022
471afc8
Refactor blockstm executor
cffls Sep 22, 2022
e63e390
Recognize bad transactions and break loop in blockstm executor
cffls Sep 28, 2022
ad658b6
Minor bug fix
cffls Sep 30, 2022
6f0d16f
Add ability to calculate the longest execution path in a block
cffls Oct 5, 2022
c59bb6e
Added unit tests for MV HashMap (#492)
pratikspatil024 Oct 7, 2022
2060b4f
Add tx dependency to block header
cffls Oct 6, 2022
0270258
commit logs
JekaMas Oct 12, 2022
da74f8c
Use a new hasher for each account access
cffls Nov 14, 2022
3a87233
Change functions of Key from pointer to value reference
cffls Nov 14, 2022
96e66e5
Merge branch 'develop' of https://github.com/maticnetwork/bor into bl…
pratikspatil024 Nov 21, 2022
be0a2ad
CI: test launch devnet without hardcoded sleep time (pos-534)
Raneet10 Nov 25, 2022
ca5fbad
CI: test: use bor in matic-cli
Raneet10 Nov 25, 2022
c686660
CI: try using checked out bor path
Raneet10 Nov 25, 2022
5df25bd
CI: fix missing ;
Raneet10 Nov 25, 2022
e378b5f
CI: fix assignment operator
Raneet10 Nov 25, 2022
7cb5978
CI: echo peers and block no.
Raneet10 Nov 25, 2022
9155cfc
CI: cleanup
Raneet10 Nov 25, 2022
806ed05
minor chg: add new line
Raneet10 Nov 25, 2022
ba58225
Merge pull request #599 from maticnetwork/raneet10/pos-534
temaniarpit27 Nov 30, 2022
50a7782
dev: add: pos-944: snyk and govuln integration (#578)
marcello33 Dec 6, 2022
abed2a5
Merge branch 'develop' of github.com:maticnetwork/bor into block-comm…
temaniarpit27 Dec 11, 2022
a75eb71
fix linters
temaniarpit27 Dec 11, 2022
f261c93
upgrade grpc version
temaniarpit27 Dec 12, 2022
469bd29
add ignore rule for net/http2
temaniarpit27 Dec 12, 2022
b1d86bd
Shivam/txpool tracing (#604)
0xsharma Dec 12, 2022
19fe8b4
Merge pull request #546 from maticnetwork/block-commit-stats
temaniarpit27 Dec 12, 2022
243d231
Reduce txArriveTimeout to 100ms
builder90210 Dec 8, 2022
9cba79e
init : remove exit on keystore err
0xsharma Dec 19, 2022
43cafc0
add : multiple keystore tolerance
0xsharma Dec 19, 2022
828801f
lint : fix linters
0xsharma Dec 19, 2022
513127c
chg : use standard logging
0xsharma Dec 20, 2022
7b52c93
chg : logging strings
0xsharma Dec 20, 2022
d8fcda3
Merge pull request #640 from maticnetwork/shivam/POS-1041
0xsharma Dec 20, 2022
4aa56c5
Merge pull request #627 from builder90210/faster_tx_fetch
temaniarpit27 Dec 22, 2022
d53c2e7
Block stm miner dependency (#561)
pratikspatil024 Dec 23, 2022
6f16d00
Merge branch 'develop' of https://github.com/maticnetwork/bor into bl…
pratikspatil024 Dec 23, 2022
ad69ccd
Added flags to run heimdall as a child process (#597)
0xKrishna Dec 23, 2022
5ae1b16
dev: chg: update PR template to include nodes audience check (#641)
marcello33 Jan 9, 2023
a323b5b
sonarqube integration (#658)
marcello33 Jan 11, 2023
66c23d1
Merge pull request #664 from maticnetwork/master
0xsharma Jan 13, 2023
9aeaf03
Merge branch 'qa' and 'master' into develop (#663)
0xsharma Jan 13, 2023
213d0cd
CI: use matic-cli master branch
Raneet10 Jan 16, 2023
af5d882
trigger ci
Raneet10 Jan 16, 2023
e06376c
Merge pull request #674 from maticnetwork/raneet10/pos-1029
Raneet10 Jan 16, 2023
a671c9e
internal/cli/server : fix : added triesInMemory in config (#677)
0xsharma Jan 18, 2023
4968c08
added hardfork checks (#666)
pratikspatil024 Jan 19, 2023
d6899d7
update requirements in README (#681)
d10r Jan 19, 2023
e4dd2ee
Added checks to RPC requests and introduced new flags to customise th…
pratikspatil024 Jan 19, 2023
241843c
chg : trieTimeout from 60 to 10 mins (#692)
0xsharma Jan 19, 2023
38145fa
internal/cli/server : fix : added triesInMemory in config (#691)
0xsharma Jan 19, 2023
168ec6e
changed version from 0.3.0 to 0.3.4-beta (#693)
pratikspatil024 Jan 19, 2023
2ad6dcf
consensus/bor : add : devFakeAuthor flag
0xsharma Jan 20, 2023
d25aa76
Minor fix in statedb test
cffls Jan 24, 2023
cbbc27c
fix nil state-sync issue, increase grpc limit (#695)
manav2401 Jan 25, 2023
cb97328
core,eth,internal/cli,internal/ethapi: add --rpc.allow-unprotected-tx…
Raneet10 Jan 27, 2023
a533ffb
core, tests/bor: add more tests for state-sync validation (#710)
manav2401 Feb 2, 2023
a1871ad
internal/cli: add `skiptrace` flag for profiling (#715)
manav2401 Feb 2, 2023
2be6ae4
Arpit/temp bor sync (#701)
temaniarpit27 Feb 3, 2023
fe1034e
Revert "chg : trieTimeout from 60 to 10 mins (#692)" (#720)
manav2401 Feb 3, 2023
9fa20a7
Arpit/add execution pool 2 (#719)
temaniarpit27 Feb 3, 2023
67843e1
version change (#721)
temaniarpit27 Feb 3, 2023
f6903b4
added flags, carried flag var through p2p config to backend start fun…
thogard785 Feb 5, 2023
9880d75
Added flag in Status to wait for backend, and fixed panic issue. (#708)
pratikspatil024 Feb 7, 2023
c6d7f59
Revert "Reduce txArriveTimeout to 100ms" (#707)
ephess Feb 7, 2023
5496007
updated type conversion point to simplify - tested flag and no-flag (…
thogard785 Feb 8, 2023
22fa403
Event based pprof (#732)
JekaMas Feb 8, 2023
a4f1ac1
consensus/bor : add : devFakeAuthor flag (#697)
0xsharma Feb 9, 2023
c46aae2
add check for empty lists in txpool (#704)
JekaMas Feb 9, 2023
9795a28
added 2 flags to enable parallel EVM and set the number of speculativ…
pratikspatil024 Feb 9, 2023
b5ff754
updated default txArrivalWait value to 500ms. updated commented lines…
thogard785 Feb 9, 2023
ad936ed
dev: chg: POS-215 move sonarqube to own ci (#733)
marcello33 Feb 9, 2023
3c23de2
changed txArrivalWait config type from int to time.Duration, changed …
thogard785 Feb 9, 2023
cfb9eb3
added missing ms to server.md (typo fix)
thogard785 Feb 9, 2023
b8be0da
added log line to print the txArrivalWait value into the fetchers go …
thogard785 Feb 9, 2023
d56370b
added check to set the txArrivalWait value to the txGatherSlack value…
thogard785 Feb 9, 2023
c4f3332
Added verbosity flag, supports log-level as well, but will remove tha…
pratikspatil024 Feb 10, 2023
0ed78b9
Check if block is nil to prevent panic (#736)
dkeysil Feb 10, 2023
53fd1fe
miner: use env for tracing instead of block object (#728)
manav2401 Feb 13, 2023
87deea0
Add : mutex pprof profile (#731)
0xsharma Feb 14, 2023
d9cc218
Cherry-pick changes from develop (#738)
manav2401 Feb 14, 2023
6f153f0
chg : commit tx logs from info to debug (#673)
0xsharma Feb 14, 2023
ec14a06
Add : commit details to bor version (#730)
0xsharma Feb 14, 2023
4916d75
add max code init size check in txpool (#739)
manav2401 Feb 14, 2023
55962e1
[Bug fix] Use parallel processor in unit test
cffls Feb 14, 2023
070b13e
added config.toml example values to different config setups, added Tx…
thogard785 Feb 15, 2023
79718d7
Revert "Event based pprof" and update version (#742)
manav2401 Feb 15, 2023
2c35dcc
core,docs/cli,internal/cli/server: make docs
Raneet10 Feb 15, 2023
4917fde
builder,docs/cli,packaging: update toml files
Raneet10 Feb 16, 2023
808259b
mardizzone/hotfix-snyk: remove vcs build when running snyk (#745)
marcello33 Feb 17, 2023
9e9efe4
Feat : SetMaxPeers (#726)
0xsharma Feb 24, 2023
a853701
internal/ethapi :: Fix : newRPCTransactionFromBlockIndex
0xsharma Feb 27, 2023
4c68a7c
Update wiki link (#762)
0xKrishna Mar 2, 2023
39b37b6
Heimdall App implementation (#646)
0xKrishna Mar 6, 2023
c917e6f
Merge pull request #705 from maticnetwork/raneet10/pos-1126
Raneet10 Mar 16, 2023
238b449
added support for miner.recommit flag (#743)
pratikspatil024 Mar 17, 2023
71eadd0
interrupting commit experiment (#556)
JekaMas Mar 20, 2023
584856b
internal/cli: added missing flags (#744)
pratikspatil024 Mar 20, 2023
08a871c
internal/ethapi: set rpc gas cap as default gas limit when creating a…
Raneet10 Mar 27, 2023
b0ff49d
Merge pull request #791 from maticnetwork/raneet10/pos-1345
Raneet10 Mar 27, 2023
6f05151
add : testcase for CommitInterruptExperiment (#792)
0xsharma Mar 28, 2023
aaf5fe3
dev: chg: continue on error when uploading snyk results to GH (#795)
marcello33 Mar 28, 2023
bec3c39
consensus/bor: revert handle unauthorized signer in consensus.Prepare
Raneet10 Mar 29, 2023
7bd393f
Revert "consensus/bor: handle unauthorized signer in consensus.Prepar…
Raneet10 Mar 30, 2023
ef8f0ab
Merge pull request #797 from maticnetwork/raneet10/revert-consensus-e…
Raneet10 Mar 30, 2023
b39e64c
eth/downloader/whitelist: skip future chain validation (#796)
manav2401 Mar 31, 2023
480ccf2
Optimized the dependency metadata structure (#804)
pratikspatil024 Apr 5, 2023
a5b49c3
added a maxTxArrivalWait constant to the fetcher. config params with …
thogard785 Apr 5, 2023
1e926cf
merged in the current develop branch
thogard785 Apr 5, 2023
4522e5c
Setting up bor to use hosted 18.04 runner as ubuntu provided 18.04 ru…
djpolygon Apr 5, 2023
7abbf23
Merge pull request #811 from maticnetwork/djpolygon/18.04Updates
djpolygon Apr 5, 2023
ac353af
Merge master to qa (#813)
manav2401 Apr 6, 2023
ded7767
Merge qa to develop (#814)
manav2401 Apr 10, 2023
0c5131b
DEVOPS-822 adding in bootnode package and required service file
djpolygon Apr 10, 2023
a7f6ed0
Cleaning up packager to remove bootnode declaration in commented pieces
djpolygon Apr 10, 2023
463bea0
[Bug fix] Fix tx dependency
cffls Feb 21, 2023
362db7a
Merge remote-tracking branch 'upstream/develop' into block-stm
cffls Apr 11, 2023
650e141
Allow process in state processor to be interrupted by caller
cffls Apr 11, 2023
de0cec5
Merge pull request #818 from cffls/block-stm
cffls Apr 12, 2023
de4c17e
Merge pull request #817 from maticnetwork/djpolygon/DEVOPS-822
djpolygon Apr 13, 2023
d76fc15
Merge pull request #819 from cffls/jc/block-stm/state_processor_inter…
cffls Apr 13, 2023
7e04138
consensus/bor: modify bor_getAuthor, bor_getSnapshotProposer, bor_get…
Raneet10 Apr 14, 2023
441b79a
Merge branch 'develop' of https://github.com/maticnetwork/bor into ra…
Raneet10 Apr 14, 2023
8667ac1
merge v0.3.9-alpha to qa (#824)
marcello33 Apr 17, 2023
0b3971a
dev: chg: version bump for v0.3.9-beta (#825)
marcello33 Apr 17, 2023
523aabc
mardizzone/backport-merge-qa-to-develop (#827)
marcello33 Apr 17, 2023
2667461
Merge pull request #822 from maticnetwork/raneet10/pos-1353
Raneet10 Apr 18, 2023
48c1f90
Allow parallel state processor to be interrupted by caller
cffls Apr 14, 2023
5860b8e
Create new block context for each parallel task
cffls Apr 18, 2023
6dee9b5
miner :: add : check to run worker commitWork (#828)
0xsharma Apr 20, 2023
01fc7e3
Run serial and parallel processor at the same time
cffls Apr 14, 2023
f9171c4
Add ParallelExecFailedError
cffls Apr 25, 2023
61d35d4
Makefile, params: fix git commit in bor version cmd (#835)
manav2401 Apr 26, 2023
33f09fc
rm : logs used for debugging issue (#838)
0xsharma Apr 26, 2023
3607151
eth/fetcher: if peers never respond, drop them (#837)
0xsharma Apr 27, 2023
72c030b
Merge pull request #831 from cffls/block-stm
cffls Apr 27, 2023
c88be5b
Disable IO tracing
cffls Apr 28, 2023
7d765e0
added in some cuddling changes to address the linter / CI test fails
thogard785 Apr 28, 2023
e62cf51
merged in updates to develop branch
thogard785 Apr 28, 2023
63f79e3
added a space for some cuddlin
thogard785 Apr 28, 2023
acff69a
core/vm, miner : Make commitInterrupt OPCODE level (#794)
0xsharma May 1, 2023
62d8cc0
added in 500ms duration to txfetcher_fuzzer
thogard785 May 1, 2023
a093c4e
Merge remote-tracking branch 'upstream/develop' into block-stm
cffls May 1, 2023
8239026
Remove recover from settle
cffls May 1, 2023
5fba098
Merge pull request #734 from thogard785/fetch-timeout-config
temaniarpit27 May 2, 2023
01dd019
Fit linters
cffls May 2, 2023
c623a28
eth/fetcher: if peers never respond, drop them (#837) (#844)
0xsharma May 2, 2023
2a87b68
dev: chg: bump version to beta-2 for v0.3.9 (#845)
marcello33 May 2, 2023
badb574
Skip looking up interruptedTxCache if it is not initialized
cffls May 3, 2023
6e0d723
rm : remove interruptctx from txsCh select case (#846)
0xsharma May 4, 2023
f8032db
dev: chg: use node-16 contracts branch (#847)
marcello33 May 4, 2023
2b048c1
rm : disable interruptCommit on txsCh select case (#848)
0xsharma May 4, 2023
51cbcea
dev: chg: version bump (#849)
marcello33 May 4, 2023
193aee0
Make block context sharable in parallel state processor
cffls May 4, 2023
1e181a9
Added a script to increase the version (#850)
pratikspatil024 May 8, 2023
1995521
fix : go-routine leak in commitInterrupt channel (#851)
0xsharma May 8, 2023
7f275a4
dev: chg: beta version bump (#853)
marcello33 May 8, 2023
b6de7aa
fixed checkoint misspell to checkpoint (#854)
pratikspatil024 May 9, 2023
adce0e8
removed PSP comment
pratikspatil024 May 10, 2023
3274b3b
Addition of 'LvlDiscard Lvl = -1' at beginning of const block in comm…
svenski123 May 11, 2023
c39c66f
Added check for circular and out-of-range dependency problem (#841)
pratikspatil024 May 11, 2023
cac3de1
backport-master-to-develop (#862)
marcello33 May 11, 2023
f2c48fe
Remove dependency when a transaction is reverted
cffls May 11, 2023
0a7594b
removed docs/config.md
pratikspatil024 May 12, 2023
08e1f21
Fix:Removing the cancelled request from the tracker's list
VAIBHAVJINDAL3012 May 12, 2023
eeb0805
Merge pull request #840 from maticnetwork/block-stm
cffls May 12, 2023
c7f2701
Enable parallel evm by default
cffls May 16, 2023
5cb0d28
Add flag changes to docs
cffls May 17, 2023
40a8686
Merge pull request #867 from cffls/develop
cffls May 18, 2023
773905e
Merge pull request #863 from maticnetwork/vaibhav/RequestCancellation
VAIBHAVJINDAL3012 May 18, 2023
0f3d965
add : commitinterrupt flag to toml files (#873)
0xsharma May 22, 2023
5c91264
internal/cli/server :: chg : default OpenCollectorEndpoint to empty s…
0xsharma May 22, 2023
d7dbbbc
Merge branch 'qa' into master-copy-psp
pratikspatil024 May 31, 2023
ecceab8
Merge pull request #878 from maticnetwork/master-copy-psp
pratikspatil024 May 31, 2023
ad76313
ci: update CI config yaml
Raneet10 May 31, 2023
c33d12e
Merge branch 'develop' of https://github.com/maticnetwork/bor into qa…
pratikspatil024 May 31, 2023
97689e8
Merge pull request #879 from maticnetwork/qa-copy-psp
pratikspatil024 May 31, 2023
c404b3f
Merge pull request #880 from maticnetwork/raneet10/update-ci
Raneet10 May 31, 2023
c9e77eb
DEVOPS-829 format fix for prometheus metrics
rekibnikufesin May 31, 2023
9c1b905
DEVOPS-829 fix complaints from linter
rekibnikufesin May 31, 2023
1fd65a0
dev: add: additional elements in PR checklist (#882)
marcello33 Jun 1, 2023
f1c8226
Merge pull request #881 from maticnetwork/DEVOPS-829/prometheus-metri…
rekibnikufesin Jun 1, 2023
3d30c34
Keep nonce and balance in write list even if the transaction is rever…
cffls Jun 6, 2023
47f8e86
Implement PIP-12, Time Based StateSync Confirmations Delay (#864)
pratikspatil024 Jun 6, 2023
f96c668
Disable reverted tx optimization in block-stm validation (#891)
cffls Jun 7, 2023
4d23e6d
added IndoreBlock for Mumbai chain (#892)
pratikspatil024 Jun 7, 2023
73821b4
updated version to 0.4.0-beta
pratikspatil024 Jun 7, 2023
d25732c
Revert "miner :: add : check to run worker commitWork (#828)"
pratikspatil024 Jun 8, 2023
477e93d
added debug logs for state sync
pratikspatil024 Jun 8, 2023
745c32e
updated version to 0.4.0-beta-2
pratikspatil024 Jun 8, 2023
39ed6e4
Explicitly disable MVHashMap in mining
cffls Jun 8, 2023
114c02b
Update version to v0.4.0-beta3
cffls Jun 8, 2023
81b06d6
DEVOPS-829 format Timer as summary/histogram type (#893)
rekibnikufesin Jun 9, 2023
3462d34
updated version to 0.4.0-beta-4
pratikspatil024 Jun 9, 2023
eda1dee
updated indore block for mumbai (#895)
pratikspatil024 Jun 12, 2023
0f81c96
updated version to 0.4.0-beta-5
pratikspatil024 Jun 12, 2023
7595395
DEVOPS-822 adding in bootnode package and required service file
djpolygon Apr 10, 2023
bd4976d
Cleaning up packager to remove bootnode declaration in commented pieces
djpolygon Apr 10, 2023
6ab2d6c
Addressing an issue with packager using any versus mumbai network nam…
djpolygon Jun 20, 2023
c3c3bb6
Merge pull request #902 from maticnetwork/djones0620Packagerfix
djpolygon Jun 20, 2023
a055726
added indore block and parallel universe for mainnet (#913)
pratikspatil024 Jun 27, 2023
7fdb5a2
version bump to v0.4.0
pratikspatil024 Jun 27, 2023
d71c00d
updated indore block to 44934656 for mainnet (#916)
pratikspatil024 Jun 27, 2023
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
9 changes: 6 additions & 3 deletions .github/matic-cli-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ blockNumber:
- '0'
blockTime:
- '2'
numOfValidators: 3
numOfNonValidators: 0
numOfBorValidators: 3
numOfBorSentries: 0
numOfBorArchiveNodes: 0
numOfErigonValidators: 0
numOfErigonSentries: 0
numOfErigonArchiveNodes: 0
ethURL: http://ganache:9545
ethHostUser: ubuntu
devnetType: docker
borDockerBuildContext: "../../bor"
heimdallDockerBuildContext: "https://github.com/maticnetwork/heimdall.git#develop"
sprintSizeBlockNumber:
- '0'
numOfArchiveNodes: 0
2 changes: 2 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ In case this PR includes changes that must be applied only to a subset of nodes,
- [ ] I have added at least 2 reviewer or the whole pos-v1 team
- [ ] I have added sufficient documentation in code
- [ ] I will be resolving comments - if any - by pushing each fix in a separate commit and linking the commit hash in the comment reply
- [ ] Created a task in Jira and informed the team for implementation in Erigon client (if applicable)
- [ ] Includes RPC methods changes, and the Notion documentation has been updated

# Cross repository changes

Expand Down
220 changes: 220 additions & 0 deletions .github/workflows/packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,116 @@ jobs:
- name: Copying systemd file
run: cp -rp packaging/templates/systemd/bor.service packaging/deb/bor/lib/systemd/system/bor.service

- name: Prepping ${{ env.NETWORK }} ${{ env.NODE }} bootnode for ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Putting toml for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/testnet-v4/sentry/sentry/bor/config.toml packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/bor/
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying the preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying the postinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postinst
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying the prerm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/prerm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/prerm
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying the postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/bor_bootnode.service packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Copying profile control file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/control.profile.amd64 packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/control
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai
- name: Running package build for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64
NODE: bootnode
NETWORK: mumbai

- name: Prepping ${{ env.NETWORK }} ${{ env.NODE }} bootnode for ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Putting toml for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/bor/
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying the preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying the postinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postinst
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying the prerm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/prerm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/prerm
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying the postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/bor_bootnode.service packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Copying profile control file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/control.profile.amd64 packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/control
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet
- name: Running package build for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64
NODE: bootnode
NETWORK: mainnet

- name: Prepping ${{ env.NETWORK }} ${{ env.NODE }} node for ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
Expand Down Expand Up @@ -416,6 +526,116 @@ jobs:
- name: Updating the control file to use with the arm64 profile
run: cp -rp packaging/templates/package_scripts/control.profile.arm64 packaging/deb/bor/DEBIAN/control

- name: Prepping ${{ env.NETWORK }} ${{ env.NODE }} bootnode for ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Putting toml for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/testnet-v4/sentry/sentry/bor/config.toml packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/bor/
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying the preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying the postinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postinst
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying the prerm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/prerm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/prerm
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying the postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/bor_bootnode.service packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Copying profile control file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/control.profile.amd64 packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/control
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai
- name: Running package build for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64
NODE: bootnode
NETWORK: mumbai

- name: Prepping ${{ env.NETWORK }} ${{ env.NODE }} bootnode for ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Putting toml for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/bor/
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying the preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying the postinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postinst
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying the prerm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/prerm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/prerm
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying the postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/bor_bootnode.service packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Copying profile control file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/control.profile.amd64 packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/control
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet
- name: Running package build for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64
NODE: bootnode
NETWORK: mainnet

- name: Setting up bor for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GIT_COMMIT ?= $(shell git rev-list -1 HEAD)

PACKAGE = github.com/ethereum/go-ethereum
GO_FLAGS += -buildvcs=false
GO_LDFLAGS += -ldflags "-X ${PACKAGE}/params.GitCommit=${GIT_COMMIT} "
GO_LDFLAGS += -ldflags "-X ${PACKAGE}/params.GitCommit=${GIT_COMMIT}"

TESTALL = $$(go list ./... | grep -v go-ethereum/cmd/)
TESTE2E = ./tests/...
Expand Down
4 changes: 2 additions & 2 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ func (b *SimulatedBackend) callContract(ctx context.Context, call ethereum.CallM
// about the transaction and calling mechanisms.
vmEnv := vm.NewEVM(evmContext, txContext, stateDB, b.config, vm.Config{NoBaseFee: true})
gasPool := new(core.GasPool).AddGas(math.MaxUint64)

return core.NewStateTransition(vmEnv, msg, gasPool).TransitionDb()
// nolint : contextcheck
return core.NewStateTransition(vmEnv, msg, gasPool).TransitionDb(context.Background())
}

// SendTransaction updates the pending block to include the given transaction.
Expand Down
7 changes: 6 additions & 1 deletion builder/files/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ syncmode = "full"
# etherbase = "VALIDATOR ADDRESS"
# extradata = ""
# recommit = "2m5s"
# commitinterrupt = true


# [jsonrpc]
Expand Down Expand Up @@ -128,7 +129,7 @@ syncmode = "full"
metrics = true
# expensive = false
# prometheus-addr = "127.0.0.1:7071"
# opencollector-endpoint = "127.0.0.1:4317"
# opencollector-endpoint = ""
# [telemetry.influx]
# influxdb = false
# endpoint = ""
Expand Down Expand Up @@ -171,6 +172,10 @@ syncmode = "full"
# period = 0
# gaslimit = 11500000

# [parallelevm]
# enable = true
# procs = 8

# [pprof]
# pprof = false
# port = 6060
Expand Down
5 changes: 5 additions & 0 deletions builder/files/genesis-mainnet-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"bor": {
"jaipurBlock": 23850000,
"delhiBlock": 38189056,
"parallelUniverseBlock": 0,
"indoreBlock": 44934656,
"stateSyncConfirmationDelay": {
"44934656": 128
},
"period": {
"0": 2
},
Expand Down
5 changes: 5 additions & 0 deletions builder/files/genesis-testnet-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"bor": {
"jaipurBlock": 22770000,
"delhiBlock": 29638656,
"parallelUniverseBlock": 0,
"indoreBlock": 37075456,
"stateSyncConfirmationDelay": {
"37075456": 128
},
"period": {
"0": 2,
"25275000": 5,
Expand Down
2 changes: 1 addition & 1 deletion cmd/evm/internal/t8ntool/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (pre *Prestate) Apply(vmConfig vm.Config, chainConfig *params.ChainConfig,
evm := vm.NewEVM(vmContext, txContext, statedb, chainConfig, vmConfig)

// (ret []byte, usedGas uint64, failed bool, err error)
msgResult, err := core.ApplyMessage(evm, msg, gaspool)
msgResult, err := core.ApplyMessage(evm, msg, gaspool, nil)
if err != nil {
statedb.RevertToSnapshot(snapshot)
log.Info("rejected tx", "index", i, "hash", tx.Hash(), "from", msg.From(), "error", err)
Expand Down
11 changes: 11 additions & 0 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,13 @@ var (
Usage: "Gas price below which gpo will ignore transactions",
Value: ethconfig.Defaults.GPO.IgnorePrice.Int64(),
}
// flag to set the transaction fetcher's txArrivalWait value, which is the maximum waiting
// period the fetcher will wait to receive an announced tx before explicitly requesting it
TxArrivalWaitFlag = cli.DurationFlag{
Name: "txarrivalwait",
Usage: "Maximum duration to wait for a transaction before requesting it (defaults to 500ms)",
Value: node.DefaultConfig.P2P.TxArrivalWait,
}

// Metrics flags
MetricsEnabledFlag = cli.BoolFlag{
Expand Down Expand Up @@ -1288,6 +1295,10 @@ func SetP2PConfig(ctx *cli.Context, cfg *p2p.Config) {
cfg.NoDiscovery = true
cfg.DiscoveryV5 = false
}

if ctx.GlobalIsSet(TxArrivalWaitFlag.Name) {
cfg.TxArrivalWait = TxArrivalWaitFlag.Value
}
}

// SetNodeConfig applies node-related command line flags to the config.
Expand Down
Loading