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

[pull] master from maticnetwork:master #1

Open
wants to merge 760 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
760 commits
Select commit Hold shift + click to select a range
8e9f922
Merge pull request #999 from maticnetwork/raneet10/update-ci
Raneet10 May 31, 2023
efbf823
gov,types: fix tests
Raneet10 May 31, 2023
2fd20a2
types: fix message in test suite
Raneet10 May 31, 2023
602322b
version bump to 0.3.4-beta
pratikspatil024 Jun 1, 2023
b84aac3
Merge pull request #1000 from maticnetwork/raneet10/test-fixes
Raneet10 Jun 8, 2023
c99564d
Set HaltHeight and HaltTime in base application from config/CLI options.
svenski123 Jun 10, 2023
fdf8bc7
Merge pull request #1005 from maticnetwork/v0.3.4-beta-candidate
pratikspatil024 Jun 13, 2023
01b33bb
version bump to v0.3.4 (#1006)
pratikspatil024 Jun 13, 2023
11d2233
helper: return error in client call to fetch root hash (#1007)
manav2401 Jun 20, 2023
7c457ff
Merge pull request #1009 from maticnetwork/master-to-develop
pratikspatil024 Jun 21, 2023
a621179
helper: improve logging for default config values (#1010)
manav2401 Jun 22, 2023
095808e
bridge: update code comment (#985) (#1001)
manav2401 Jun 22, 2023
784f0f0
dev: chg: pos-1465: remove snyk and sonarqube (#1012)
marcello33 Jun 26, 2023
171f6da
Fix:SignBytes representation of empty string data field in the event-…
VAIBHAVJINDAL3012 Jun 29, 2023
7e33b8d
helper: add newHexToStringAlgoHeight block for mumbai
Raneet10 Jun 30, 2023
ac80a63
Fix typo (#1014)
yorickdowne Jul 6, 2023
8bfbb88
Merge pull request #1003 from svenski123/220610-fix-halt-height-time
0xKrishna Jul 7, 2023
c6ea326
Set HaltHeight and HaltTime in base application from config/CLI options.
svenski123 Jun 10, 2023
28c0c4e
mardizzone/POS-1311: go and deps upgrade (#1019)
marcello33 Jul 19, 2023
d2cac96
fixed multiple go files (#1018)
criadoperez Jul 19, 2023
c310849
change tendermint version for testing
Raneet10 Jul 19, 2023
ad15687
Fix:lint issues
VAIBHAVJINDAL3012 Jul 21, 2023
329efab
Merge pull request #1016 from maticnetwork/vaibhav/HeimdallSyncIssue
VAIBHAVJINDAL3012 Jul 22, 2023
7b9d4a8
update cosmos version
Raneet10 Jul 24, 2023
323a168
Merge branch 'develop' into raneet10/pos-1645
Raneet10 Jul 24, 2023
1f809ae
Revert "Merge branch 'develop' into raneet10/pos-1645"
Raneet10 Jul 24, 2023
f3181f9
fix go mod
Raneet10 Jul 24, 2023
cbb80df
Revert "fix go mod"
Raneet10 Jul 24, 2023
ef2ec2d
Revert "Revert "Merge branch 'develop' into raneet10/pos-1645""
Raneet10 Jul 24, 2023
b318994
update go.sum
Raneet10 Jul 24, 2023
c23771a
helper: change newHexToStringAlgoHeight height for mumbai
Raneet10 Jul 24, 2023
da1ad9e
helper: change newHexToStringAlgoHeight height for mumbai
Raneet10 Jul 24, 2023
1398fc4
helper: change newHexToStringAlgoHeight height for mumbai
Raneet10 Jul 24, 2023
0566a70
Add: Check for the previous milestone whether that is in voting phase
VAIBHAVJINDAL3012 Jul 28, 2023
fe8f097
Fix:Added the check for block confirmations in milestone validation
VAIBHAVJINDAL3012 Jul 28, 2023
e7a6302
Merge pull request #1027 from maticnetwork/raneet10/fix-heimdall-sync…
Raneet10 Aug 3, 2023
b520509
Merge pull request #1024 from maticnetwork/raneet10/pos-1645
Raneet10 Aug 7, 2023
e49b92f
scripts: fix lint
Raneet10 Aug 7, 2023
344a865
Merge pull request #1028 from maticnetwork/raneet10/fix-lint
Raneet10 Aug 8, 2023
18ffe56
0.3.5 version bump
VAIBHAVJINDAL3012 Aug 8, 2023
31e520c
Fix goreleaser.yml
VAIBHAVJINDAL3012 Aug 8, 2023
56bb4eb
Where validation of the merkle transaction inclusion proof has failed…
svenski123 Aug 10, 2023
04f34ff
Corrections on go files
criadoperez Aug 13, 2023
b8fe027
Improvements on Makefile
criadoperez Aug 13, 2023
59c0e4e
exempt draft PRs (#1034)
temaniarpit27 Aug 15, 2023
7b7262a
Merge pull request #1032 from criadoperez/fix/criadoperez2
VAIBHAVJINDAL3012 Aug 16, 2023
c7ec9d5
Merge pull request #1033 from criadoperez/fix/Makefile
VAIBHAVJINDAL3012 Aug 16, 2023
fe5a3e7
Added graph support for self-heal
0xKrishna Aug 20, 2023
40857fe
Updated stake-update and state-sync to use graph
0xKrishna Aug 22, 2023
3c3be80
Update Content-type for subgraph query
0xKrishna Aug 22, 2023
4728f6e
fix topic issue in self-heal
0xKrishna Aug 22, 2023
1f1cbde
Remove unused code
0xKrishna Aug 22, 2023
5c3b737
Rename subGraph object
0xKrishna Aug 22, 2023
da4a47a
Fix validator nonce issue
0xKrishna Aug 23, 2023
320ad3b
Update log message
0xKrishna Aug 23, 2023
90a14b8
Update config.go
temaniarpit27 Aug 24, 2023
3268205
Merge branch 'develop' into vaibhav/ValidatorSetRotation
VAIBHAVJINDAL3012 Aug 24, 2023
6bc9f00
Merge branch 'develop' into vaibhav/BBFinal
VAIBHAVJINDAL3012 Aug 24, 2023
397b508
Fix:Err handling in the Milestone test
VAIBHAVJINDAL3012 Aug 24, 2023
fd44a13
Fix:Checkpoint NoAck handler
VAIBHAVJINDAL3012 Aug 24, 2023
26f7c6d
Fix:Lint issue
VAIBHAVJINDAL3012 Aug 24, 2023
8c16e6e
Merge pull request #1038 from maticnetwork/vaibhav/MilestoneIteration1
VAIBHAVJINDAL3012 Aug 24, 2023
daa9284
fix lint
temaniarpit27 Aug 24, 2023
fc117bf
fix linters
temaniarpit27 Aug 24, 2023
602e3e0
Pull merge from develop
VAIBHAVJINDAL3012 Aug 24, 2023
f2c0414
Fix:lint issues
VAIBHAVJINDAL3012 Aug 24, 2023
727a29a
Merge pull request #983 from maticnetwork/vaibhav/ValidatorSetRotation
VAIBHAVJINDAL3012 Aug 24, 2023
ec38fe8
Merge branch 'develop' into vaibhav/Milestone
VAIBHAVJINDAL3012 Aug 24, 2023
9859f49
Fix:formatting
VAIBHAVJINDAL3012 Aug 24, 2023
5663c00
Merge pull request #939 from maticnetwork/vaibhav/Milestone
VAIBHAVJINDAL3012 Aug 24, 2023
ddf61ea
Merge branch 'develop' into vaibhav/BBFinal
VAIBHAVJINDAL3012 Aug 24, 2023
8a26699
Merge pull request #984 from maticnetwork/vaibhav/BBFinal
VAIBHAVJINDAL3012 Aug 24, 2023
a1a10dc
Merged the following sub hf noAckProposerCheckHeight,milestoneHardFor…
VAIBHAVJINDAL3012 Aug 24, 2023
917cc03
Fixed the Aalborg block height for Mumbai chain
VAIBHAVJINDAL3012 Aug 28, 2023
1056c1d
Merge pull request #1039 from maticnetwork/vaibhav/hfMerge
VAIBHAVJINDAL3012 Aug 28, 2023
43d1adf
checkpoint: fix checkpoint ack condition
Raneet10 Aug 28, 2023
116f11f
Add:Testcases for checkpoint posthandler
VAIBHAVJINDAL3012 Aug 28, 2023
a53886f
Merge pull request #1043 from maticnetwork/raneet10/cp-bug
Raneet10 Aug 29, 2023
962be8e
Fix:Milestone hardfork fixes
VAIBHAVJINDAL3012 Aug 29, 2023
4667585
version change
temaniarpit27 Aug 29, 2023
347ac7b
Merge pull request #1046 from maticnetwork/arpit/version-change
VAIBHAVJINDAL3012 Aug 29, 2023
edad937
merge latest branch
temaniarpit27 Aug 29, 2023
767d023
Merge pull request #1045 from maticnetwork/vaibhav/MilestoneHfFixes
VAIBHAVJINDAL3012 Aug 29, 2023
af1850d
Merge pull request #1047 from maticnetwork/arpit/version-change
temaniarpit27 Aug 29, 2023
9a5d9c2
EOL 18.04 Support
djpolygon Aug 29, 2023
5c57fcc
Fix:Error type when the milestone related tx come before the hardfork…
VAIBHAVJINDAL3012 Aug 29, 2023
846f292
Merge pull request #1049 from maticnetwork/vaibhav/HfFixIteration1
VAIBHAVJINDAL3012 Aug 29, 2023
06fc256
Merge pull request #1048 from maticnetwork/djpolygon/remove_1804_runner
djpolygon Aug 30, 2023
eb40b34
Text corrections on go files (#1042)
criadoperez Aug 31, 2023
5f82f03
ci: increase smoke test timeout
Raneet10 Sep 5, 2023
0b394d7
ci: rename integration-tests to e2e-tests
Raneet10 Sep 6, 2023
e559ee6
Merge pull request #1052 from maticnetwork/raneet10/pos-1781
Raneet10 Sep 6, 2023
2da029a
Merge pull request #1037 from maticnetwork/krishna/add-graph-to-self-…
VAIBHAVJINDAL3012 Sep 10, 2023
00fbcab
Fix:module name in Milestone logger
VAIBHAVJINDAL3012 Sep 11, 2023
b35cb3d
Improve:Error logging
VAIBHAVJINDAL3012 Sep 11, 2023
dcdf249
staking: update log level (#1041)
anshalshukla Sep 12, 2023
8e5a165
Merge pull request #1055 from maticnetwork/v0.3.5-candidate
VAIBHAVJINDAL3012 Sep 12, 2023
592422f
Upgraded the bor dependency to v1.0.1-beta
VAIBHAVJINDAL3012 Sep 12, 2023
4203c79
Increase the value of MilestoneBufferLength to MilestoneLength * 5
VAIBHAVJINDAL3012 Sep 12, 2023
627f3c1
helper: handle receipt calculation using main chain finalized tag
manav2401 Sep 19, 2023
e34ac72
Merge pull request #1058 from maticnetwork/manav/add-finalized-check
VAIBHAVJINDAL3012 Sep 19, 2023
554cc81
Set:Aalborg fork height for mainnet
VAIBHAVJINDAL3012 Sep 19, 2023
60575ec
Updated the version to v1.0.1
VAIBHAVJINDAL3012 Sep 19, 2023
65b54f9
Add timeout to GetBlockByNumber (#1059)
anshalshukla Sep 20, 2023
84aded5
Merge pull request #1060 from maticnetwork/develop
VAIBHAVJINDAL3012 Sep 20, 2023
5a89c28
Updated Bor version to v1.0.4
VAIBHAVJINDAL3012 Sep 20, 2023
fe19017
Merge pull request #1062 from maticnetwork/v1.0.0-beta-candidate
VAIBHAVJINDAL3012 Sep 20, 2023
491a245
Addressing packages issues
djpolygon Sep 21, 2023
4810a26
Merge pull request #1064 from maticnetwork/djpolygon/package_fixes
VAIBHAVJINDAL3012 Oct 2, 2023
f7decae
Add README for bor module (#1071)
Raneet10 Oct 4, 2023
54d1070
Fix typos (#1061)
omahs Oct 5, 2023
00712f8
Merge pull request #1030 from svenski123/230810-accept-alternate-root…
anshalshukla Oct 5, 2023
65aed7f
Changed the default value of seed nodes
VAIBHAVJINDAL3012 Oct 5, 2023
7e8cbb7
checkpoint/client: revert with 503 status code until HF (#1073)
manav2401 Oct 5, 2023
beaaa4d
Added Clerk README (#1075)
0xKrishna Oct 5, 2023
64f0909
Merge pull request #1076 from maticnetwork/vaibhav/DefaultSeedNodes
temaniarpit27 Oct 5, 2023
9958bfc
dev: chg: solve vulns (#1074)
marcello33 Oct 5, 2023
934347c
mardizzone/POS-1609: dev: chg: update heimdall version
marcello33 Oct 5, 2023
e3af686
Merge pull request #1077 from maticnetwork/v1.0.2-candidate
marcello33 Oct 5, 2023
fa1846d
Merge branch 'master' into backport/master-to-develop
marcello33 Oct 5, 2023
3fcbae3
Merge pull request #1078 from maticnetwork/backport/master-to-develop
marcello33 Oct 5, 2023
24378c4
Add CodeQL (#1079)
marcello33 Oct 16, 2023
8811f35
Merge pull request #1083 from maticnetwork/develop
marcello33 Oct 16, 2023
9293743
bump peppermint and cosmos-sdk to latest polygon releases (#1085)
marcello33 Oct 17, 2023
62879ac
Add staking module README (#1082)
Raneet10 Oct 18, 2023
ef29c1e
dev: add: install go with go.mod version (#1088)
marcello33 Oct 19, 2023
3eb809a
add readme for supply module
temaniarpit27 Oct 19, 2023
7cd93b1
modify readme
temaniarpit27 Oct 19, 2023
6d49abc
add bank readme
temaniarpit27 Oct 19, 2023
cff3a06
Update README.md
temaniarpit27 Oct 19, 2023
f90892b
bor: restructure query command section and minor refactor (#1087)
Raneet10 Oct 20, 2023
4c3ee50
Bump google.golang.org/grpc from 1.58.2 to 1.58.3
dependabot[bot] Oct 25, 2023
0e70ceb
fix: log/service stopped (#1070)
mrostamii Oct 26, 2023
6a2d908
Fix (#1095)
anshalshukla Oct 30, 2023
771ab8d
Update README.md
temaniarpit27 Oct 31, 2023
1bbec7d
fix review comments
temaniarpit27 Oct 31, 2023
f9fa508
Merge pull request #1091 from maticnetwork/arpit/pos-1821
temaniarpit27 Nov 1, 2023
034b3be
Merge pull request #1090 from maticnetwork/arpit/pos-1832
temaniarpit27 Nov 1, 2023
56299da
Vaibhav/bug fix (#1097)
ssandeep Nov 2, 2023
8e900db
add chainmanager readme
temaniarpit27 Nov 3, 2023
e11a638
remove unnecessary lines
temaniarpit27 Nov 3, 2023
cb7aa51
staking: fix lint
Raneet10 Nov 3, 2023
1842793
Merge pull request #1101 from maticnetwork/v1.0.3-candidate
Raneet10 Nov 3, 2023
41f8864
Merge pull request #1102 from maticnetwork/master
Raneet10 Nov 3, 2023
f26798b
Merge pull request #1094 from maticnetwork/dependabot/go_modules/goog…
temaniarpit27 Nov 6, 2023
3de6f3b
Update README.md
temaniarpit27 Nov 6, 2023
24759ec
Merge pull request #1100 from maticnetwork/arpit/pos-1822
temaniarpit27 Nov 6, 2023
c22fda5
bumped maticnetwork/tendermint version to v0.33.1 (#1103)
pratikspatil024 Nov 6, 2023
5490d73
Added Bridge README (#1086)
0xKrishna Nov 7, 2023
93ab469
Add topup/README.md
cffls Nov 13, 2023
59fe670
Merge pull request #1106 from cffls/docs/topup
cffls Nov 14, 2023
3fab40d
feat: force flags with -- (#1051)
mrostamii Nov 16, 2023
1385c0d
Added auth Readme (#1108)
0xKrishna Nov 20, 2023
d2bde62
Gov README (#1111)
0xKrishna Nov 22, 2023
45eca41
chg: remove deprecated docker push on old registry (#1114)
marcello33 Nov 30, 2023
ac3e797
Update matic-cli in CI (#1118)
marcello33 Dec 8, 2023
25bc9cd
Added slashing module (#1117)
0xKrishna Dec 13, 2023
8721c7e
Added param README (#1116)
0xKrishna Dec 13, 2023
f2e1ae1
chg: bump some deps for sec vulsn (#1123)
marcello33 Jan 2, 2024
249aa79
chg: bump some deps for sec vulsn (#1124)
marcello33 Jan 2, 2024
f58e145
Added server README
0xKrishna Jan 4, 2024
c6759a3
Added swagger-ui readme
0xKrishna Jan 4, 2024
2fec0f8
Merge pull request #1125 from maticnetwork/pos-1827
VAIBHAVJINDAL3012 Jan 14, 2024
5531b3c
integration-tests: update ipc path on ci tests (#1128)
manav2401 Jan 18, 2024
f863727
add : amoy flags and genesis (#1104)
0xsharma Jan 25, 2024
c96fc74
fix: fix typos (#1132)
rex4539 Feb 5, 2024
dbabaa3
Revert "clerk/client/rest :: add : blocktime check in recordListHandl…
manav2401 Feb 14, 2024
98ac057
Added Bridge README (#1086)
0xKrishna Nov 7, 2023
12ce095
Merge pull request #1133 from maticnetwork/raneet10/master-to-develop…
Raneet10 Feb 14, 2024
bbd459d
go.mod: bump bor version to v1.2.6-beta
manav2401 Feb 14, 2024
90895e8
Merge pull request #1135 from maticnetwork/bump-bor-version
Raneet10 Feb 14, 2024
47e517d
bump version to v1.0.4-beta
manav2401 Feb 14, 2024
5b91534
chore: enforce capitalisation in flags description (#1137)
leovct Feb 29, 2024
0c70e02
fix: root folder for docker integration tests (#1139)
marcello33 Mar 5, 2024
9437618
fix: root folder for docker integration tests (#1139) (#1140)
marcello33 Mar 5, 2024
864a5ae
POS-2399: ganache bug workaround to reduce `smoke_test` time in CI (#…
marcello33 Mar 5, 2024
f7a2b2f
Merge branch 'master' into v1.0.4-candidate
manav2401 Mar 5, 2024
363c371
go.mod: bump bor version to v1.2.7
manav2401 Mar 5, 2024
749012c
bump version to v1.0.4
manav2401 Mar 5, 2024
396e990
Merge pull request #1142 from maticnetwork/v1.0.4-candidate
manav2401 Mar 5, 2024
dfd8837
Bump dependencies (#1145)
marcello33 Mar 12, 2024
98ba715
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#1147)
dependabot[bot] Mar 14, 2024
d1cb028
Fix typos (#1144)
AaronChen0 Mar 15, 2024
e95c69d
bridge, staking: chg: bug fix (#1149)
marcello33 Mar 18, 2024
ae5a160
Bump version to v1.0.5 (#1150)
cffls Mar 18, 2024
d6c9c72
add: milestones audit (#1151)
marcello33 Mar 26, 2024
4730997
checkpoint: list api increase max limit (#1154)
taratorio Apr 8, 2024
52cb251
update: tendermint version (#1156)
anshalshukla Apr 12, 2024
3721597
chore: remove repetitive words in comments (#1155)
worrycare Apr 12, 2024
ddaa3f0
Bump golang.org/x/net from 0.17.0 to 0.23.0
dependabot[bot] Apr 19, 2024
d29eb2f
Merge branch 'develop' of https://github.com/maticnetwork/heimdall in…
pratikspatil024 May 3, 2024
08e0e44
Merge pull request #1160 from maticnetwork/dependabot/go_modules/gola…
pratikspatil024 May 3, 2024
5591ff6
fix: bb-31177
marcello33 May 23, 2024
db3803f
chg: update version
marcello33 May 23, 2024
4c4ff5e
fix: milestone test
marcello33 May 23, 2024
b96e8fd
fix: lint
marcello33 May 23, 2024
90fc571
fix: lint go import
marcello33 May 23, 2024
1eec11a
Merge pull request #1163 from marcello33/mardizzone/bb-31177
marcello33 May 23, 2024
45313d7
POS-2399: ganache bug workaround to reduce `smoke_test` time in CI (#…
marcello33 Mar 5, 2024
f42d25c
Merge pull request #1164 from maticnetwork/mardizzone/POS-2399-cp
marcello33 May 23, 2024
db391fa
Merge branch 'master' into mardizzone/backport-master
marcello33 May 23, 2024
78b469c
update geth and bor dependencies (#1162)
manav2401 May 23, 2024
289d583
Merge pull request #1165 from maticnetwork/mardizzone/backport-master
marcello33 May 24, 2024
23303fa
chg: update version for beta release
marcello33 Jun 4, 2024
521c1c6
chg: stable tag
marcello33 Jun 4, 2024
b0c4a07
Merge pull request #1167 from maticnetwork/v1.0.7-beta-candidate
marcello33 Jun 5, 2024
4b09573
Merge pull request #1168 from maticnetwork/mardizzone/backport_master
marcello33 Jun 6, 2024
b437234
app,bridge,helper: fix account sequence mismatch b/w bridge and DB
Raneet10 Jun 7, 2024
89c97b2
bridge,helper: address comments + fix lint
Raneet10 Jun 10, 2024
d71283f
Merge pull request #1170 from maticnetwork/raneet10/acc-seq-fix
Raneet10 Jun 10, 2024
e497f88
build(deps): bump github.com/rs/cors from 1.10.1 to 1.11.0
dependabot[bot] Jul 5, 2024
135c271
server: add status endpoint from tendermint (#1175)
manav2401 Jul 8, 2024
b292451
server: add status endpoint from tendermint (#1175)
manav2401 Jul 8, 2024
1f76118
bump version to v1.0.8-beta
manav2401 Jul 16, 2024
b7d59fe
Merge pull request #1176 from maticnetwork/dependabot/go_modules/gith…
marcello33 Aug 16, 2024
cd58a1b
fix: selfheal statusCheck
marcello33 Sep 4, 2024
ad9219f
bor: increase max limit for list span api (#1180)
shohamc1 Sep 5, 2024
df2b39f
Adding new refactored packager, some clean up, shasums, etc
djpolygon Sep 10, 2024
d667acb
Removing some spaces
djpolygon Sep 10, 2024
c7a8920
Removing unnecessary old control files
djpolygon Sep 10, 2024
298d62f
reverting prerm
djpolygon Sep 10, 2024
bb99cf4
chg: update artifacts actions versions
marcello33 Sep 13, 2024
ec8aca2
Merge pull request #1186 from maticnetwork/mardizzone/artifacts-actio…
marcello33 Sep 17, 2024
95549a8
Adding rpm packagers
djpolygon Sep 20, 2024
61d746a
Updating paths for main pr
djpolygon Sep 20, 2024
956b34e
Return checkpoint IDs in `checkpoints/list` (#1183)
shohamc1 Sep 23, 2024
ffcc01e
Merge pull request #1181 from maticnetwork/mardizzone/bugfix-selfheal
marcello33 Sep 26, 2024
1d1d620
chg: bump deps
marcello33 Oct 2, 2024
a3f11f1
chg: bump version
marcello33 Oct 2, 2024
1a496db
Fix typos (#1182)
omahs Oct 3, 2024
8371be5
Adding updated configs and packager update
djpolygon Oct 3, 2024
d5558e7
Updating profiles postinsts to remove initialization
djpolygon Oct 3, 2024
a95ce48
Updating rpm packagers for profiles to include the new profiles
djpolygon Oct 3, 2024
d0c14a7
chg: stable version
marcello33 Oct 7, 2024
ba12942
Merge tag 'v1.0.8-beta' into v1.0.9-beta-candidate
marcello33 Oct 7, 2024
2fef3d7
Switching from main, to master branch
djpolygon Oct 7, 2024
df3ac83
Switched to use heimdall master branch
djpolygon Oct 7, 2024
ee258e0
Merge pull request #1189 from maticnetwork/v1.0.9-beta-candidate
marcello33 Oct 8, 2024
093e850
Merge pull request #1185 from maticnetwork/djpolygon/DEVOPS-3284
djpolygon Oct 8, 2024
932ee90
Merge pull request #1187 from maticnetwork/djpolygon/rpm_packager
djpolygon Oct 8, 2024
471a4d3
Merge branch 'master' into mardizzone/backport_master_to_develop
marcello33 Oct 9, 2024
29933c6
del: updateVersion script
marcello33 Oct 9, 2024
a8f9449
Merge pull request #1190 from maticnetwork/mardizzone/backport_master…
marcello33 Oct 9, 2024
8a90464
Merge pull request #1191 from maticnetwork/develop
marcello33 Oct 9, 2024
58caf4d
chg: bump go in packager deb
marcello33 Oct 9, 2024
57315b6
chg: bump go in packager deb
marcello33 Oct 9, 2024
4d11254
Merge pull request #1192 from maticnetwork/mardizzone/bump-go-package…
marcello33 Oct 9, 2024
8d549d1
Merge pull request #1193 from maticnetwork/develop
marcello33 Oct 9, 2024
fe8bb21
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.31.0
dependabot[bot] Dec 12, 2024
632feca
Merge pull request #1215 from maticnetwork/dependabot/go_modules/gola…
marcello33 Dec 18, 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
  •  
  •  
  •  
24 changes: 0 additions & 24 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

This file was deleted.

26 changes: 26 additions & 0 deletions .github/matic-cli-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
defaultStake: 10000
defaultFee: 2000
borChainId: 15001
heimdallChainId: heimdall-15001
contractsBranch: mardizzone/node-16
genesisContractsBranch: master
sprintSize:
- '64'
blockNumber:
- '0'
blockTime:
- '2'
numOfBorValidators: 3
numOfBorSentries: 0
numOfBorArchiveNodes: 0
numOfErigonValidators: 0
numOfErigonSentries: 0
numOfErigonArchiveNodes: 0
ethURL: http://ganache:9545
ethHostUser: ubuntu
devnetType: docker
borDockerBuildContext: "https://github.com/maticnetwork/bor.git#develop"
heimdallDockerBuildContext: "../../heimdall"
sprintSizeBlockNumber:
- '0'
devnetBorFlags: config,config,config
49 changes: 49 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Description

Please provide a detailed description of what was done in this PR

# Changes

- [ ] Bugfix (non-breaking change that solves an issue)
- [ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
- [ ] Changes only for a subset of nodes

# Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

# Nodes audience

In case this PR includes changes that must be applied only to a subset of nodes, please specify how you handled it (e.g. by adding a flag with a default value...)

# Checklist

- [ ] 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

# Cross repository changes

- [ ] This PR requires changes to bor
- In case link the PR here:
- [ ] This PR requires changes to matic-cli
- In case link the PR here:

## Testing

- [ ] I have added unit tests
- [ ] I have added tests to CI
- [ ] I have tested this code manually on local environment
- [ ] I have tested this code manually on remote devnet using express-cli
- [ ] I have tested this code manually on mumbai or amoy
- [ ] I have created new e2e tests into express-cli

### Manual tests

Please complete this section with the steps you performed if you ran manual tests for this functionality, otherwise delete it

# Additional comments

Please post additional comments in this section if you have them, otherwise delete it
178 changes: 178 additions & 0 deletions .github/workflows/amoy_deb_profiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
name: amoy_deb_profiles

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
# 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: Making directory structure for yaml
run: mkdir -p packaging/deb/heimdalld/var/lib/heimdall/config
- name: making directory structure for the systemd
run: mkdir -p packaging/deb/heimdalld/lib/systemd/system
- name: delete old control file
run: rm -rf packaging/deb/heimdalld/DEBIAN/control

# Control file creation
- name: create control file
run: |
touch packaging/deb/heimdalld/DEBIAN/control
echo "Package: heimdall-profile" >> packaging/deb/heimdalld/DEBIAN/control
echo "Version: ${{ env.VERSION }}" >> packaging/deb/heimdalld/DEBIAN/control
echo "Section: base" >> packaging/deb/heimdalld/DEBIAN/control
echo "Priority: optional" >> packaging/deb/heimdalld/DEBIAN/control
echo "Architecture: all" >> packaging/deb/heimdalld/DEBIAN/control
echo "Maintainer: [email protected]" >> packaging/deb/heimdalld/DEBIAN/control
echo "Description: heimdall profile package" >> packaging/deb/heimdalld/DEBIAN/control

#### Sentry Profiles ####
- name: Setting up heimdalld for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/deb/heimdalld packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying postinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postinst
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst.${{ env.NETWORK }} packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/config/${{ env.NETWORK }}/heimdall-config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/heimdall-config.toml
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/config/${{ env.NETWORK }}/config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/config.toml
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm.profile packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/heimdalld-amoy-sentry.service packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/heimdalld.service
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Building heimdalld for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} profile
run: dpkg-deb --build --root-owner-group packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: all
NODE: sentry
NETWORK: amoy

### Validator Profiles ###
- name: Setting heimdalld for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/deb/heimdalld packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: all
NODE: validator
NETWORK: amoy
- name: Copying over the postinst file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postinst.profile packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN//postinst
env:
ARCH: all
NODE: validator
NETWORK: amoy
- name: Copying postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/postrm.profile packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm
env:
ARCH: all
NODE: validator
NETWORK: amoy
- name: Copying preinst for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/package_scripts/preinst.${{ env.NETWORK }} packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/config/${{ env.NETWORK }}/heimdall-config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/heimdall-config.toml
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/config/${{ env.NETWORK }}/config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/config.toml
env:
ARCH: all
NODE: sentry
NETWORK: amoy
- name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }}
run: cp -rp packaging/templates/systemd/heimdalld-amoy-validator.service packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/heimdalld.service
env:
ARCH: all
NODE: validator
NETWORK: amoy
- name: Building heimdalld for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} profile
run: dpkg-deb --build --root-owner-group packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}
env:
ARCH: all
NODE: validator
NETWORK: amoy

# Shasum
- name: shasum the heimdall debian profile package
run: cd packaging/deb/ && sha256sum heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: all
NODE: sentry
NETWORK: amoy

- name: shasum the heimdall debian profile package
run: cd packaging/deb/ && sha256sum heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}.deb > heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}.deb.checksum
env:
ARCH: all
NODE: validator
NETWORK: amoy

############ Check and Upload ##########################
- name: Confirming package built
run: ls -ltr packaging/deb/ | grep heimdall

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