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

v1.5.0 candidate #1359

Merged
merged 659 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
659 commits
Select commit Hold shift + click to select a range
fbf6238
params: fix misleading comments (#29684)
NathanBSC May 2, 2024
2c67fab
trie/pathdb: preallocate map capacity (#29690)
mask-pp May 2, 2024
86a1f0c
core/rawdb: fix ancient root folder (#29697)
rjl493456442 May 2, 2024
905e325
p2p/discover/v5wire: add tests for invalid handshake and auth data si…
kiarash8112 May 6, 2024
a09a610
core/tracing: add system call callback when performing `ProcessBeacon…
maoueh May 6, 2024
43cbcd7
core, core/state: move TriesInMemory to state package (#29701)
gballet May 6, 2024
3e896c8
ethdb/pebble: fix pebble metrics registration (#29699)
magicxyyz May 6, 2024
e4b8058
eth/gasprice: add query limit for FeeHistory to defend DDOS attack (#…
NathanBSC May 7, 2024
d6e91e2
eth/gasestimator: include blobs in virtual balance computation (#29703)
nand2 May 7, 2024
71aa15c
travis: use ubuntu noble (24.04) instead of bionic (18.04) (#29723)
holiman May 7, 2024
e96de64
build: upgrade to go 1.22.3 (#29725)
fjl May 7, 2024
9ec5008
core: use in-memory freezer for tests (#29720)
rjl493456442 May 8, 2024
dd4afb9
.travis.yml: fix install of gcc-multilib (#29733)
fjl May 8, 2024
6154f87
.travis.yml: fix apt-get options (#29734)
fjl May 8, 2024
dd09f7e
params: release go-ethereum v1.14.1 stable
fjl May 8, 2024
14f4228
params: begin v1.14.2 release cycle
fjl May 8, 2024
eeb2208
.travis.yml: fix package install on PPA builder
fjl May 8, 2024
35b2d07
params: release go-ethereum v1.14.2 stable
fjl May 8, 2024
1a79f8f
params: begin v1.14.3 release cycle
fjl May 8, 2024
faff03c
.travis.yml: enable PPA upload on push and fix apt-get command (#29741)
fjl May 8, 2024
804afb8
.travis.yml: restore PPA condition and bump timeouts (#29742)
fjl May 8, 2024
ab48ba4
params: release go-ethereum v1.14.3 stable
fjl May 9, 2024
6d51c1f
params: begin v1.14.4 release cycle
fjl May 9, 2024
0e456d9
.travis.yml: disable normal unit tests in cron job (#29746)
fjl May 9, 2024
74edc93
params: gofmt
fjl May 9, 2024
e5f5eae
core/state: remove slot dirtyness if it's set back to origin value (#…
rjl493456442 May 10, 2024
603fd89
event: fix typo (#29749)
cocoyeal May 10, 2024
47af69c
core, beacon, ethdb: fix typos (#29748)
hteevoli May 10, 2024
44a50c9
cmd, core, params, trie: add verkle access witness gas charging (#29338)
gballet May 10, 2024
2ac83e1
core/state: blocking prefetcher on term signal, parallel updates (#29…
karalabe May 13, 2024
5b3e3cd
tests: update tests (#29730)
rjl493456442 May 13, 2024
be32843
core/state: remove useless operation (#29769)
rjl493456442 May 14, 2024
8919c5c
core: deploy EIP-4788 contract in dev mode genesis (#29655)
0xbeny May 14, 2024
d2f00cb
.github: upgrade to action versions with node20 (#29776)
cario-dev May 14, 2024
7ed52c9
core: move balanceCheck addition in buyGas (#29762)
zhiqiangxu May 15, 2024
473ee8f
trie, eth/protocols/snap: sanitize the committed node data (#29485)
rjl493456442 May 16, 2024
be5df74
trie: update the `valid` function comments (#29809)
cocoyeal May 21, 2024
7fd7c1f
eth/tracers: fix basefee context for traceBlock (#29811)
holiman May 21, 2024
0d4cdb3
internal/ethapi: fix typos (#29784)
karlb May 23, 2024
fa58176
eth/tracers: fix json logger for evm blocktest (#29795)
s1na May 23, 2024
b779e46
Makefile: add fmt, update help (#29777)
tr1sm0s1n May 23, 2024
70bee97
metrics: fix out of range error message (#29821)
Halimao May 23, 2024
6a9158b
p2p/discover: improved node revalidation (#29572)
fjl May 23, 2024
cc9e2bd
p2p/enode: fix endpoint determination for IPv6 (#29801)
fjl May 23, 2024
61b3d93
p2p/enode: fix TCPEndpoint (#29827)
AaronChen0 May 23, 2024
08fe6a8
metrics: fix flaky test`TestExpDecaySampleNanosecondRegression` (#29832)
Halimao May 24, 2024
64b1cd8
p2p: fix typos (#29828)
gitglorythegreat May 24, 2024
b6474e9
metrics: add test for `SampleSnapshot.Sum` (#29831)
levisyin May 24, 2024
d1d9f34
core/types: clarify set inclusion in comments (#29839)
winterjihwan May 26, 2024
7f5cc02
metrics: fix function comment (#29843)
Wukingbow May 27, 2024
7224576
core, eth/protocols/snap, internal/ethapi: remove redundant types (#2…
tr1sm0s1n May 27, 2024
1a4e4a4
miner: fix TestBuildPayload sporadic failure (#29853)
May 27, 2024
5132768
eth/downloader: fix flaky test (#29852)
rjl493456442 May 27, 2024
ea6c160
eth/tracers: clear error for non-reverting pre-homestead fail (#29824)
s1na May 28, 2024
caafa93
all: improve some error strings (#29842)
trillom8 May 28, 2024
42471d7
core/vm/runtime: set random to enable merge-opcodes (#29799)
holiman May 28, 2024
871e55d
core/state: fix typos in comments (#29767)
gitglorythegreat May 28, 2024
61932e4
cmd/geth: update testdata (vulncheck) (#29714)
holiman May 28, 2024
b88051e
core/rawdb, triedb/pathdb: fix freezer read-only option (#29823)
rjl493456442 May 28, 2024
af0a327
p2p/discover: fix crash when revalidated node is removed (#29864)
fjl May 28, 2024
e517183
eth, eth/downloader: remove references to LightChain, LightSync (#29…
jwasinger May 28, 2024
171430c
core/state: remove unused error from prefetcher trie method (#29768)
jwasinger May 28, 2024
cc22e0c
p2p/discover: fix update logic in handleAddNode (#29836)
lightclient May 28, 2024
5534c84
go.mod: update a number of dependencies (#29763)
holiman May 29, 2024
daf4f72
p2p/simulations: remove stale information about docker adapter (#29874)
bugmaker9371 May 29, 2024
153f8da
p2p/nodestate: remove unused package (#29872)
lilasxie May 29, 2024
b8cf163
accounts: fix TestUpdateKeyfileContents (#29867)
May 29, 2024
06263b1
all: fix typos in comments (#29873)
polymaer May 29, 2024
2f0e63e
eth/downloader, eth/tracer: fix typos in comments (#29707)
trillom8 May 29, 2024
e26fa9e
core/state: fix typo in comment (#29639)
niuxiaojie81 May 29, 2024
94a8b29
p2p/discover: refactor node and endpoint representation (#29844)
fjl May 29, 2024
3fef534
build: upgrade to golangci-lint v1.59.0 (#29875)
fjl May 29, 2024
2f06c1e
cmd/devp2p: fix node.TCP -> node.UDP (#29879)
hattizai May 29, 2024
6bb13e8
eth/catalyst: ensure TxPool is synced in Fork (#29876)
fjl May 29, 2024
e015c11
ethdb: remove unnecessary function wrapper (#29888)
suiyuan1314 May 30, 2024
2262bf3
crypto/secp256k1: change receiver variable name to lowercase (#29889)
suiyuan1314 May 30, 2024
5d7d48f
eth/gasprice: add comment to constant (#29892)
yosuzzy May 30, 2024
bdc62f9
common/math: rename variable name `int` to `n` (#29890)
tianyeyouyou May 31, 2024
2613523
miner: lower default min miner tip from 1 gwei to 0.001 gwei (#29895)
karalabe May 31, 2024
d4b81f0
CODEOWNERS: @s1na owns core/tracing (#29899)
s1na May 31, 2024
c9e0b31
Supply delta live tracer (#29347)
ziogaschr Jun 3, 2024
d38b88a
core/state: introduce stateupdate structure (#29530)
rjl493456442 Jun 3, 2024
50405e2
cmd/evm/internal/t8ntool: fix a typo (#29887)
0xmountaintop Jun 3, 2024
b36c738
beacon/engine: prealloc capacity for map and slice (#29903)
mask-pp Jun 3, 2024
7270cba
log: fix a typo (#29883)
miles-six Jun 3, 2024
a6751d6
core/rawdb,eth/protocols,p2p: prealloc slice size (#29893)
tianyeyouyou Jun 3, 2024
adbbd8c
core/state: prefetch account trie while starting a prefetcher (#29919)
Jun 4, 2024
68c0ec0
trie: iterate values pre-order and fix seek behavior (#27838)
roysc Jun 4, 2024
682ae83
internal/ethapi: recap higher args.Gas with block GasLimit in DoEstim…
SangIlMo Jun 4, 2024
125fb1f
core/state: avoid data race (#29924)
rjl493456442 Jun 4, 2024
5550d83
params: release Geth v1.14.4
karalabe Jun 5, 2024
fc40d68
params: begin v1.14.5 release cycle
karalabe Jun 5, 2024
e85e21c
core/state, eth/tracers: fix typos (#29932)
hteevoli Jun 5, 2024
d09ddac
core/rawdb: remove unused deriveLogFields (#29913)
9547 Jun 5, 2024
bc65694
p2p: use netip.Addr where possible (#29891)
fjl Jun 5, 2024
6c518fe
build: upgrade -dlgo version to Go 1.22.4 (#29938)
sandakersmann Jun 6, 2024
cbbfa3e
rlp: no need to repeat called len method (#29936)
9547 Jun 6, 2024
0750cb0
p2p/netutil: fix comments (#29942)
hteevoli Jun 6, 2024
85459e1
p2p/discover: unwrap 4-in-6 UDP source addresses (#29944)
fjl Jun 6, 2024
0dd173a
params: release Geth v1.14.5
rjl493456442 Jun 6, 2024
4461c1f
params: begin v1.14.6 release cycle
rjl493456442 Jun 6, 2024
4405f18
cmd/evm/internal/t8ntool: remove unused parameter (#29930)
Gealber Jun 7, 2024
6a49d13
go.mod : tidy
ucwong Jun 5, 2024
deaf109
cmd/clef, cmd/evm: fix markdown issues in README (#29954)
kukuru909 Jun 8, 2024
1098d14
cmd/geth: remove unused param (#29952)
hadv Jun 8, 2024
349fcdd
p2p/discover: add missing lock when calling tab.handleAddNode (#29960)
Gealber Jun 9, 2024
8bda642
p2p: use package slices to sort in PeersInfo (#29957)
Gealber Jun 9, 2024
db273c8
core: initialize developer genesis beacon root contract with 0 balanc…
jwasinger Jun 10, 2024
2eb185c
core, rlp: remove duplicated words (#29964)
tinyfoxy Jun 10, 2024
85587d5
cmd, core: prefetch reads too from tries if requested (#29807)
jwasinger Jun 11, 2024
3aa874b
core/state: rename all the AccessList receivers to 'al' (#29921)
mask-pp Jun 11, 2024
ffb29be
ethconfig: regenerate config (#29970)
ucwong Jun 11, 2024
caa066d
cmd/devp2p: fix log output (#29972)
bugmaker9371 Jun 11, 2024
c732039
.github: disable cache in actions run (#29926)
gballet Jun 11, 2024
b6f2bbd
p2p/simulations: update doc of HTTP endpoints (#29894)
bugmaker9371 Jun 11, 2024
1e97148
all: fix inconsistent receiver name and add lint rule for it (#29974)
fjl Jun 12, 2024
3687c34
accounts: avoid duplicate regex compilation (#29943)
yincongcyincong Jun 12, 2024
69351e8
core/state, eth/protocols, trie, triedb/pathdb: remove unused error …
jwasinger Jun 12, 2024
86150af
beacon/light: fix shutdown issues (#29946)
zsfelfoldi Jun 12, 2024
fd5078c
trie/triedb: add Reader to backend interface (#29988)
darioush Jun 14, 2024
34b46a2
core/state/snapshot: add a missing lock (#30001)
mask-pp Jun 17, 2024
a58e4f0
go.mod: update Pebble to sort out a deleted upstream dependency (#30010)
karalabe Jun 17, 2024
b78d235
log: fix some functions comments (#29907)
BabyHalimao Jun 17, 2024
115d154
trie, triedb/pathdb: prealloc capacity for map and slice (#29986)
mask-pp Jun 17, 2024
c736b04
triedb/pathdb: use maps.Clone and maps.Keys (#29985)
mask-pp Jun 17, 2024
d866449
common/math: fix out of bounds access in json unmarshalling (#30014)
decanus Jun 17, 2024
7cf6a63
core/state/snapshot: acquire the lock on Release (#30011)
MariusVanDerWijden Jun 18, 2024
67a862d
cmd/geth, ethdb/pebble: improve database statistic (#29948)
hadv Jun 19, 2024
0e3a0a6
trie: don't reset tracer at the end of Commit (#30024)
jwasinger Jun 19, 2024
c11aac2
common: using `ParseUint` instead of `ParseInt` (#30020)
Halimao Jun 19, 2024
2700840
core/txpool/blobpool: change rw-lock to r-lock (#29989)
psogv0308 Jun 19, 2024
00675c5
trie/trienode: avoid unnecessary copy (#30019)
mask-pp Jun 20, 2024
27654d3
p2p/rlpx: 2KB maximum size for handshake messages (#30029)
infosecual Jun 20, 2024
e0e45db
core/state/snapshot: tiny fixes (#29995)
rjl493456442 Jun 21, 2024
c10ac4f
Revert "core/state/snapshot: tiny fixes" (#30039)
rjl493456442 Jun 21, 2024
a71f6f9
p2p/discover: improve flaky revalidation tests (#30023)
Halimao Jun 21, 2024
d8ea7ac
cmd/blsync: use debug.Setup for logging configuration (#30065)
lightclient Jun 25, 2024
0a651f8
.github: add lightclient as codeowner to relevant packages (#30062)
lightclient Jun 25, 2024
fe0c0b0
accounts/keystore: use t.TempDir in test (#30052)
Halimao Jun 25, 2024
73f7e7c
internal/debug: remove unnecessary log level assignment (#30044)
amiremohamadi Jun 25, 2024
ed8fd0a
all: stateless witness builder and (self-)cross validator (#29719)
jwasinger Jun 25, 2024
98b5930
core/txpool/blobpool: avoid use *map as parameter. (#30048)
mask-pp Jun 25, 2024
9298d2d
trie/trienode: remove unnecessary check in Summary (#30047)
mask-pp Jun 25, 2024
269e80b
eth/tracers,trie: remove unnecessary check (#30071)
Halimao Jun 27, 2024
045b971
trie: relocate state execution logic into pathdb package (#29861)
rjl493456442 Jun 27, 2024
19c3c1e
triedb/pathdb: fix flaky test in pathdb (#29901)
lilasxie Jun 28, 2024
36d67be
core/txpool/blobpool: improve newPriceHeap function (#30050)
mask-pp Jun 28, 2024
4939c25
cmd/evm/internal/t8ntool: log writeTraceResult error message (#30038)
mask-pp Jun 28, 2024
06f1d07
all: replace division with right shift if possible (#29911)
gitglorythegreat Jun 28, 2024
7cfff30
rpc: truncate call error data logs (#30028)
ceyonur Jun 28, 2024
a4e338f
accounts/usbwallet/trezor: upgrade to generate with protoc 27.1 (#30058)
jwasinger Jul 1, 2024
41abab9
build: add check for stale generated files (#30037)
jwasinger Jul 1, 2024
0905660
core/state: fix inconsistent verkle test error messages (#29753)
hteevoli Jul 1, 2024
aadddf3
params: release Geth v1.14.6
gballet Jul 2, 2024
f4c41e2
Merge branch 'release/1.13' into upstream_merge_1.13
anshalshukla Jul 10, 2024
dbf55ce
Merge tag 'v1.14.6' into upstream_merge_1.14.6
anshalshukla Aug 5, 2024
03f253c
add block fetcher back, fix handler and blockchain errors
anshalshukla Aug 6, 2024
e6132fd
fix: testcases
anshalshukla Aug 9, 2024
5cda3fe
fix: testcases
anshalshukla Aug 13, 2024
4a9a875
merge: master
anshalshukla Aug 13, 2024
b1419eb
fix: testcases
anshalshukla Aug 13, 2024
a23701f
Fix getStateObject in statedb when MVHashmap is enabled
cffls Aug 13, 2024
cdf5827
regenerate mocks to fix tests
manav2401 Aug 14, 2024
687cd76
fix: testcases
anshalshukla Aug 19, 2024
a49d56f
Fix TestFilterTxConditional
cffls Aug 21, 2024
f88af20
fix: testcases
anshalshukla Aug 21, 2024
6351c62
Adding refactored packager, adding pbss configs, removal of mumbai ( …
djpolygon Aug 21, 2024
54f8743
Fixing naming convention for pbss_config.toml's and reverting config.…
djpolygon Aug 21, 2024
ab2db59
fix: traceTx function
anshalshukla Aug 22, 2024
908f53f
Bumping go version
djpolygon Aug 22, 2024
68d8614
fix: tracers, add bor fee log in results
anshalshukla Aug 26, 2024
3c48fca
fix: testcases
anshalshukla Aug 26, 2024
c0ff6db
fix: testcases, add: block broadcasting mechanism
anshalshukla Aug 30, 2024
da49748
fix: Eth2NewBlock, add: tip check in commit txn
anshalshukla Aug 31, 2024
8285ea7
eth/protocols/snap: skip test
manav2401 Aug 31, 2024
1d86ab3
internal/cli: skip tests due to dev mode not working
manav2401 Aug 31, 2024
9f94e3e
fix: commit logic
anshalshukla Aug 31, 2024
02faed0
fix:testcases
anshalshukla Aug 31, 2024
fc30355
fix: TestRPCGetTransactionReceiptsByBlock
anshalshukla Sep 1, 2024
20b83d1
internal/ethapi/testdata: revert genesis hash
manav2401 Sep 1, 2024
1a98c5c
internal/ethapi/testdata: add note
manav2401 Sep 1, 2024
c0c1298
fix: testcases
anshalshukla Sep 1, 2024
43043ed
fix: few linting errors
anshalshukla Sep 2, 2024
cec3ee1
fix: testcases
anshalshukla Sep 3, 2024
693d8ae
skip: testcase
anshalshukla Sep 4, 2024
3cb949f
fix: avoid capping warnings for gas set by internal system transactions
anshalshukla Sep 4, 2024
9513da4
fix: add back ethApi and mining login in handler
anshalshukla Sep 4, 2024
a159bf7
fix: set ethapi in handler
anshalshukla Sep 4, 2024
ef88b4d
fix: parallelise tests in core
anshalshukla Sep 5, 2024
a66305d
fix: lint, add: milestone related tests in downloader
anshalshukla Sep 5, 2024
fe5d813
fix: integration syntax
anshalshukla Sep 5, 2024
94ead5e
Add test for concurrent revert in MVHashmap (#1326)
cffls Sep 6, 2024
44d0938
Log info about mismatched valset (#1325)
cffls Sep 6, 2024
54de128
bumping releaser and checkout versions to address future end of life …
djpolygon Sep 9, 2024
a4d9b39
Updating to add quotes to the pbss portions for db.engine and state.s…
djpolygon Sep 9, 2024
aeb32a8
Updating to comment out trie, bad copy over from test profile
djpolygon Sep 9, 2024
955eb3d
chg: skip snap synced tests
marcello33 Sep 10, 2024
4ef3f6e
chg: test
marcello33 Sep 10, 2024
8c14f12
chg: solve conflicts
marcello33 Sep 10, 2024
18c7226
chg: fix tests
marcello33 Sep 10, 2024
fc319f7
chg: fix assertions in test
marcello33 Sep 10, 2024
f9f774f
Fix fee conversion
cffls Sep 11, 2024
a291fa7
fix: lint
anshalshukla Sep 12, 2024
a323609
add: eth67 protocol
anshalshukla Sep 12, 2024
f45da7c
update version of action artifact
anshalshukla Sep 12, 2024
d9daaca
Address goroutine leak
cffls Sep 12, 2024
b43fb1b
Remove duplicated tx fetcher call
cffls Sep 13, 2024
bb47bda
Add pending logs back
cffls Sep 13, 2024
2484ea9
Remove file added accidentally
cffls Sep 13, 2024
97c1dc9
Fix tests and increase timeout
cffls Sep 18, 2024
a902cd1
Fix test-integration
cffls Sep 19, 2024
d74c232
Adding rpm packagers
djpolygon Sep 20, 2024
2778f66
Updating proper path for main pr
djpolygon Sep 20, 2024
352fb8a
Fix txIndexer
cffls Sep 18, 2024
a2dec4b
Bump action versions
cffls Sep 21, 2024
d5feb36
Remove unused workflow file
cffls Sep 24, 2024
396c06d
Reduce test-integration time
cffls Sep 25, 2024
b8901bc
Merge pull request #1300 from maticnetwork/upstream_merge_1.14.6
cffls Oct 1, 2024
af5c2b1
Merge remote-tracking branch 'upstream/master' into develop
cffls Oct 1, 2024
bac860a
Adding amoy static-nodes and bootnodes for amoy
djpolygon Oct 1, 2024
abf89a6
Adding mainnet bootnodes and static-nodes
djpolygon Oct 1, 2024
5e52fe0
Updated amoy static-nodes and bootnodes for amoy
djpolygon Oct 1, 2024
65d11a9
Remove debug logs
cffls Oct 3, 2024
3949415
Merge pull request #1341 from cffls/develop
cffls Oct 3, 2024
b35b0e0
Bump version to v1.5.0-beta
cffls Oct 3, 2024
827811a
Fix panic in eth_getLogs
cffls Oct 4, 2024
e29aea8
Merge pull request #1342 from cffls/v1.5.0-candidate
cffls Oct 4, 2024
c8c8311
Bump up version to v1.5.0-beta2
cffls Oct 4, 2024
8185d48
internal/cli: add: prometheus sever timeouts
marcello33 Oct 7, 2024
63dd8d6
fix: lint
marcello33 Oct 7, 2024
2a7c58a
Merge pull request #1344 from maticnetwork/mardizzone/promeserver_to
cffls Oct 7, 2024
3e30a92
Updating to use master instead of main per default bor branch
djpolygon Oct 8, 2024
f489fec
Updated default branch to use to master per bor default branch
djpolygon Oct 8, 2024
a7578a3
Fix panic on getting safe block
cffls Oct 8, 2024
48bdfa7
Fix tx index limit not being used correctly
cffls Oct 8, 2024
3b9f73a
Fix bor tx missing
cffls Oct 9, 2024
f416499
Bump version to v1.5.0-beta3
cffls Oct 8, 2024
4fd4ff0
Adding dns entries for the enrtree for pos mesh backbone nodes
djpolygon Oct 9, 2024
2cae584
Merge pull request #1311 from maticnetwork/djpolygon/SPEC-154
djpolygon Oct 10, 2024
bfede06
Merge pull request #1339 from maticnetwork/djpolygon/rpm_packaging
djpolygon Oct 10, 2024
a106bd1
check block number and timestamp options when filtering conditional t…
jj1980a Oct 10, 2024
57a7f7f
Fix eth_getTransactionReceipt
cffls Oct 15, 2024
19ab472
Add flag discovery.dns
cffls Oct 15, 2024
27a626d
Changing names of pbss profiles for consistency in deb and rpm
djpolygon Oct 16, 2024
4ebe634
Merge pull request #1356 from maticnetwork/djpolygon/rpm_updates
djpolygon Oct 16, 2024
cf648c9
Bump version to v1.5.0-beta5
cffls Oct 16, 2024
38fabe9
Updating uploader
djpolygon Oct 17, 2024
531028b
Merge pull request #1357 from maticnetwork/djpolygon/update_uploader
djpolygon Oct 17, 2024
31164fe
Bump version to v1.5.0-beta6
cffls Oct 17, 2024
10fa91f
Bump version to v1.5.0
cffls Oct 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
387 changes: 387 additions & 0 deletions .github/workflows/amoy_deb_profiles.yml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git submodule update --init --recursive --force
git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master
Expand All @@ -146,7 +146,7 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -172,7 +172,7 @@ jobs:
needs: [unit-tests, integration-tests]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4.1.8
- name: Upload coverage to Codecov
Expand All @@ -185,7 +185,7 @@ jobs:
os: [ ubuntu-20.04 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: bor
- name: Checkout submodules
Expand All @@ -199,7 +199,7 @@ jobs:
go-version: 1.22.x

- name: Checkout matic-cli
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: maticnetwork/matic-cli
ref: master
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/go.yml

This file was deleted.

405 changes: 405 additions & 0 deletions .github/workflows/mainnet_deb_profiles.yml

Large diffs are not rendered by default.

1,372 changes: 0 additions & 1,372 deletions .github/workflows/packager.yml

This file was deleted.

126 changes: 126 additions & 0 deletions .github/workflows/packager_deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: packager_deb

on:
push:
branches:
- 'master'
paths:
- '**'
tags:
- 'v*.*.*'
- 'v*.*.*-*'

jobs:
build:
permissions:
id-token: write
contents: write
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.22.1
# Variables
- name: Adding TAG to ENV
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: adding version
run: |
NUMERIC_VERSION=$( echo ${{ env.GIT_TAG }} | sed 's/[^0-9.]//g' )
echo "VERSION=$NUMERIC_VERSION" >> $GITHUB_ENV

- name: Cleaning repo
run: make clean
- name: Building for amd64
run: make bor

- name: Making directory structure
run: mkdir -p packaging/deb/bor/usr/bin
- name: Copying necessary files
run: cp -rp build/bin/bor packaging/deb/bor/usr/bin/
- name: Delete control file
run: rm -rf packaging/deb/bor/DEBIAN/control

# Control file creation
- name: create control file
run: |
touch packaging/deb/bor/DEBIAN/control
echo "Package: bor" >> packaging/deb/bor/DEBIAN/control
echo "Version: ${{ env.VERSION }}" >> packaging/deb/bor/DEBIAN/control
echo "Section: base" >> packaging/deb/bor/DEBIAN/control
echo "Priority: optional" >> packaging/deb/bor/DEBIAN/control
echo "Architecture: amd64" >> packaging/deb/bor/DEBIAN/control
echo "Maintainer: devops@polygon.technology" >> packaging/deb/bor/DEBIAN/control
echo "Description: bor binary package" >> packaging/deb/bor/DEBIAN/control

- name: Creating package for binary for bor ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64

- name: Running package build
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: amd64

- name: Cleaning build directory for arm64 build
run: make clean

- name: Updating the apt-get
run: sudo apt-get update -y

- name: Adding requirements for cross compile
run: sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu

- name: delete amd64 control file
run: rm -rf packaging/deb/bor/DEBIAN/control

- name: Building bor for arm64
run: GOARCH=arm64 GOOS=linux CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ CGO_ENABLED=1 go build -o build/bin/bor ./cmd/cli/main.go

# Control file for arm64 creation
- name: create control file
run: |
touch packaging/deb/bor/DEBIAN/control
echo "Package: bor" >> packaging/deb/bor/DEBIAN/control
echo "Version: ${{ env.VERSION }}" >> packaging/deb/bor/DEBIAN/control
echo "Section: base" >> packaging/deb/bor/DEBIAN/control
echo "Priority: optional" >> packaging/deb/bor/DEBIAN/control
echo "Architecture: arm64" >> packaging/deb/bor/DEBIAN/control
echo "Maintainer: devops@polygon.technology" >> packaging/deb/bor/DEBIAN/control
echo "Description: bor binary package" >> packaging/deb/bor/DEBIAN/control


- name: Creating package for binary for bor ${{ env.ARCH }}
run: cp -rp packaging/deb/bor packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64

- name: Running package build
run: dpkg-deb --build --root-owner-group packaging/deb/bor-${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: arm64

# Shasum
- name: shasum the bor debian package
run: cd packaging/deb/ && sha256sum bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: amd64

- name: shasum the bor debian package
run: cd packaging/deb/ && sha256sum bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > bor-${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: arm64

- name: Release bor Packages
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.GIT_TAG }}
prerelease: true
files: |
packaging/deb/bor**.deb
packaging/deb/bor**.deb.checksum
Loading
Loading