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

WIP: Conway era support #963

Merged
merged 269 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
7dd6402
Merge pull request #927 from input-output-hk/refactor/ogmios-6-breaki…
mkazlauskas Oct 24, 2023
a876875
Merge remote-tracking branch 'origin/master' into conway-era
mkazlauskas Oct 24, 2023
bb725f9
feat(key-management): sign conway stake key registration certificates
mirceahasegan Oct 27, 2023
447b75d
fix: handle bigint in innerError data
mirceahasegan Oct 30, 2023
0c5a743
Merge pull request #969 from input-output-hk/feat/conway-stake-key-re…
mirceahasegan Oct 30, 2023
adf2620
Merge pull request #970 from input-output-hk/fix/handle-bigint-inner-…
mirceahasegan Oct 30, 2023
06cc4d4
chore(ogmios): cleanup OgmiosObservableCardanoNodeProps type
mkazlauskas Oct 31, 2023
8289062
feat!: add ObservableCardanoNode.submitTx method
mkazlauskas Oct 31, 2023
8c56c5e
refactor!: remove OgmiosTxSubmitProvider
mkazlauskas Oct 31, 2023
e45b264
Merge pull request #971 from input-output-hk/fix/resilient-ogmios-v6-…
mkazlauskas Nov 6, 2023
7db8077
chore(cardano-services): start all services
mirceahasegan Nov 2, 2023
0cc767e
chore: reduce version env variables duplication
mirceahasegan Nov 2, 2023
2c8bf13
chore: cardano-node 8.6.0-pre
mirceahasegan Nov 2, 2023
d959171
chore(cardano-services): config subrepo update 1cba0a
mirceahasegan Nov 2, 2023
8164992
chore: cardano-db-sync sancho-2-2-0
mirceahasegan Nov 3, 2023
582af19
chore: ogmios 6.0 rc5
mirceahasegan Nov 6, 2023
1d489d5
Merge pull request #972 from input-output-hk/chore/node-8-6-0-upgrade
mirceahasegan Nov 7, 2023
ff09d3e
test(wallet): registration certificate is signed
mirceahasegan Nov 8, 2023
a7357a3
fix(util): serialize error with data
mirceahasegan Nov 8, 2023
14896cf
Merge pull request #979 from input-output-hk/test/lw-9018-fix-unit-tests
mirceahasegan Nov 14, 2023
1389ab7
test(ogmios): mock ogmios in util test
mirceahasegan Nov 9, 2023
3777d8e
fix: use reason as ProviderFailure when innerError is missing
mirceahasegan Nov 14, 2023
76a2273
fix(wallet): do not resubmit unknown error tx
mirceahasegan Nov 14, 2023
9ba4063
Merge pull request #987 from input-output-hk/fix/lw-8951-reject-tx-su…
mirceahasegan Nov 15, 2023
7da313b
Merge pull request #981 from input-output-hk/test/lw-8954-ogmios-util…
mirceahasegan Nov 15, 2023
ddefb43
Merge branch 'master' into conway-era
iccicci Nov 15, 2023
c3decf0
chore: bump cardano-submit-api version
iccicci Nov 15, 2023
6dfcfeb
chore: update sanchonet:up submit args
mirceahasegan Nov 15, 2023
e676c1b
Merge branch 'master' into conway-era
iccicci Nov 20, 2023
2e49866
Merge branch 'master' into conway-era
iccicci Nov 27, 2023
59f804d
Merge branch 'master' into conway-era
iccicci Nov 28, 2023
7b6de31
test(e2e): upgrade local network to conway era
AngelCastilloB Oct 18, 2023
7216cc8
Merge pull request #975 from input-output-hk/feat/lw-8771-upgrade-loc…
iccicci Nov 28, 2023
4e1d00b
Merge branch 'master' into conway-era
iccicci Nov 29, 2023
04fd8b6
Merge master into conway-era
mirceahasegan Dec 4, 2023
bdf99c6
chore: bump to latest cardano-node version
mirceahasegan Dec 4, 2023
ef44e4f
chore(cardano-services): config subrepo update 95b22e
mirceahasegan Dec 4, 2023
d51d82d
chore(ogmios): remove ogmios build script
mirceahasegan Dec 4, 2023
32ef4f3
chore(cardano-services): db-sync renamed pool_offline_data to off_cha…
mirceahasegan Dec 5, 2023
6ee30a7
test: update sql test snapshots
mirceahasegan Dec 5, 2023
e2b59fe
Merge pull request #1007 from input-output-hk/chore/merge-master-to-c…
mirceahasegan Dec 5, 2023
50e8acf
chore: import #1008 from master
iccicci Dec 6, 2023
f3d6fff
chore: import #1021 from master
iccicci Dec 13, 2023
e88f6f1
feat(core): upgrade implicit coins procedure with conway era new stak…
iccicci Dec 13, 2023
bb061a7
feat(cardano-services): add conway certificates to db-sync chain hist…
iccicci Dec 13, 2023
f2599d3
feat(projection): implement conway era new stake certificates
iccicci Dec 13, 2023
38d795d
feat(wallet): implement conway era new stake certificates
iccicci Dec 13, 2023
9af44f8
Merge pull request #978 from input-output-hk/feat/db-sync-chain-histo…
iccicci Dec 14, 2023
71f0eb9
chore: import #1024 from master
iccicci Dec 14, 2023
4d275ee
feat(cardano-services): add voting procedures to db-sync chain history
mchappell Nov 15, 2023
180234d
Merge pull request #1026 from input-output-hk/feat/db-sync-chain-hist…
iccicci Dec 15, 2023
e4779b8
feat(cardano-services): add proposal procedures to chain history prov…
iccicci Dec 15, 2023
ba7d4a4
Merge pull request #1028 from input-output-hk/feat/LW-8969-proposal-p…
iccicci Dec 18, 2023
0b94c69
chore(wallet): docs for getStakePoolIdAtEpoch
mirceahasegan Dec 15, 2023
5b6dd44
test(wallet): portfolio must be non-null before
mirceahasegan Dec 19, 2023
450e086
feat(wallet)!: delegation by conway certificates
mirceahasegan Dec 20, 2023
44b29f5
Merge branch 'master' into chore/merge-master-to-conway-era
mirceahasegan Dec 21, 2023
549848f
refactor(core)!: remove duplicate committee certificates
mirceahasegan Dec 12, 2023
eb5234b
chore: fix merge unwanted changes
mirceahasegan Dec 21, 2023
1ffd99d
chore(cardano-services): rebuild test db
mirceahasegan Dec 22, 2023
29e658b
chore(cardano-services): rebuild fixtures
iccicci Jan 8, 2024
c7b7172
Merge pull request #1022 from input-output-hk/feat/lw-9265-compatible…
mirceahasegan Dec 14, 2023
a798c81
Merge pull request #1032 from input-output-hk/feat/lw-9412-delegation…
mirceahasegan Jan 9, 2024
3000e8e
chore(cardano-services): rebuild fixtures
iccicci Jan 10, 2024
3bae009
Merge branch 'chore/merge-master-to-conway-era' into conway-era
mirceahasegan Jan 11, 2024
367f6a4
Merge branch 'master' into chore/merge-master-b098a5865b-to-conway-era
mirceahasegan Jan 11, 2024
b8b6aae
chore: update-lock-files
mirceahasegan Jan 11, 2024
c2cfb69
Merge pull request #1047 from input-output-hk/chore/merge-master-b098…
mirceahasegan Jan 11, 2024
d146a30
Merge branch 'master' into conway-era
iccicci Jan 16, 2024
c24c10e
chore: update node, ogmios and db-sync versions
mirceahasegan Jan 12, 2024
6f071bc
git subrepo pull --force packages/cardano-services/config
mirceahasegan Jan 12, 2024
a2f45f0
chore(cardano-services): dbsync sancho-3.0.0 schema updates
mirceahasegan Jan 16, 2024
02de523
Merge branch 'master' into conway-era
iccicci Jan 18, 2024
efff070
chore(cardano-services): update fixtures
mirceahasegan Jan 17, 2024
c75fef5
fix(cardano-services): db-sync redeemer purpose mapping
mirceahasegan Jan 17, 2024
ccf785e
Merge pull request #1055 from input-output-hk/chore/lw-9541-upgrade-n…
iccicci Jan 18, 2024
6f31b53
Merge branch 'master' into chore/merge-master-94bdbd02c3-to-conway-era
mirceahasegan Jan 26, 2024
1248d74
Merge pull request #1070 from input-output-hk/chore/merge-master-94bd…
mirceahasegan Jan 26, 2024
507af69
chore(cardano-services): fix settings in sanchonet env files
iccicci Jan 18, 2024
5f8f7c7
feat(cardano-services): add proposal procedures details
iccicci Jan 23, 2024
49be04c
Merge pull request #1073 from input-output-hk/feat/LW-9423-proposal-p…
iccicci Jan 31, 2024
1ec6132
Merge branch 'master' into conway-era
iccicci Feb 1, 2024
f14fa5d
Merge pull request #1080 from input-output-hk/master
mirceahasegan Feb 2, 2024
16c4b5e
test(core): add unit tests VrfVkBech32.fromHex
mirceahasegan Feb 2, 2024
d464498
Merge branch 'master' into merge-master
iccicci Feb 6, 2024
622c3cc
test(cardano-services): skipped test about collaterals as it requires…
iccicci Feb 6, 2024
7fbcc0f
Merge pull request #1085 from input-output-hk/merge-master
iccicci Feb 6, 2024
63afeef
Merge pull request #1081 from input-output-hk/test/lw-8941-unit-tests…
mirceahasegan Feb 6, 2024
9e39545
chore(cardano-services): un-skip previously skipped unit tests
iccicci Feb 6, 2024
b64446c
Merge pull request #1086 from input-output-hk/chore/LW-9184-un_skip-t…
iccicci Feb 6, 2024
24c552f
test(cardano-services): re-enable http server unit tests
iccicci Feb 12, 2024
ea54453
Merge branch 'master' into conway-era
mkazlauskas Feb 12, 2024
29d3c7c
test(cardano-services): test ogmios utils
mirceahasegan Feb 8, 2024
ead0e79
test(cardano-services): update DbSyncProvider tests to use mock Ogmio…
mirceahasegan Feb 13, 2024
96a3327
Merge pull request #1092 from input-output-hk/test/LW-8943-re-enable-…
iccicci Feb 13, 2024
ce64d31
Merge pull request #1095 from input-output-hk/test/lw-8948-dbsync-tes…
mirceahasegan Feb 13, 2024
9560147
Merge pull request #1094 from input-output-hk/test/lw-8944-reenable-o…
mirceahasegan Feb 14, 2024
6bd0490
chore(ogmios): remove genesis review comment
mirceahasegan Feb 14, 2024
e334471
Merge pull request #1097 from input-output-hk/chore/lw-8952-update-co…
mirceahasegan Feb 15, 2024
f83d675
Merge branch 'master' into conway-era
iccicci Feb 19, 2024
93f4776
Merge pull request #1100 from input-output-hk/master
iccicci Feb 20, 2024
a0a2ead
fix(cardano-services): use correct stake key deregistration certifica…
iccicci Feb 19, 2024
54189a4
feat!: add deposit to stake pool registration certificates
iccicci Feb 20, 2024
d5d00f1
chore: fix some comments and spelling
iccicci Feb 21, 2024
0839f57
Merge pull request #1101 from input-output-hk/fix/LW-9604-deposit-values
iccicci Feb 21, 2024
1c82c39
Merge pull request #1116 from input-output-hk/master
mirceahasegan Feb 28, 2024
7c77fb5
chore/upgrade-to-cardano-node-8-8
mirceahasegan Feb 28, 2024
48f3404
Merge branch 'master' into conway-era
iccicci Mar 6, 2024
eb78b76
fix(e2e): more robust local-network script name logline
mirceahasegan Mar 4, 2024
c024840
fix(e2e): local-network cardano-node download url
mirceahasegan Mar 4, 2024
a1200fb
fix(e2e): do not remove inexistent file
mirceahasegan Mar 4, 2024
ed08a0a
fix(e2e): ignore inexistent files when cleaning up
mirceahasegan Mar 4, 2024
f8b190d
fix(e2e): cli deprecated protocol-params arg
mirceahasegan Mar 4, 2024
fb53722
test(e2e): enable plutus and native scripts in local-network
mirceahasegan Mar 4, 2024
dd03069
test(e2e): enable native/plutus skipped tests
mirceahasegan Mar 5, 2024
3015f20
chore(cardano-services): update fixtures after node 8.8 native/plutus…
mirceahasegan Mar 5, 2024
7fdfeaf
test(cardano-services): enable native/plutus scripts
mirceahasegan Mar 6, 2024
d1785b0
test(cardano-services): update costs_model format to match db-sync sc…
mirceahasegan Mar 6, 2024
f30f063
test: added extra information for the tests that are still failing
mirceahasegan Mar 6, 2024
13d6bba
Merge pull request #1134 from input-output-hk/chore/lw-9182-restore-p…
mirceahasegan Mar 7, 2024
46bd2a5
Merge branch 'master' into conway-era
iccicci Mar 11, 2024
86e85e3
fix: containers dependencies in docker compose infrastructure
iccicci Mar 7, 2024
2950cf8
chore(e2e): bump protocol major version
iccicci Mar 7, 2024
c2bb9cb
fix(cardano-services): new constitution proposal representation in db…
iccicci Mar 7, 2024
13de17a
fix(cardano-services): drep representation in certificates in chain h…
iccicci Mar 6, 2024
ebe7ea7
fix(cardano-services): conway era deposits in db sync network info pr…
iccicci Mar 6, 2024
6b1e747
test(e2e): add conway era txs related e2e tests
iccicci Mar 6, 2024
f76db46
Merge pull request #1122 from input-output-hk/test/lw-9418-conway-era…
iccicci Mar 11, 2024
f5c4665
Merge branch 'master' into chore/merge-master-to-conway-era
mirceahasegan Mar 11, 2024
3b76ab8
test(e2e): personalWallet was renamed to BaseWallet
mirceahasegan Mar 11, 2024
08edbc0
Merge pull request #1139 from input-output-hk/chore/merge-master-to-c…
mirceahasegan Mar 11, 2024
9a22b78
Merge branch 'master' into conway-era
iccicci Mar 19, 2024
fc77529
Merge branch 'master' into conway-era
iccicci Mar 19, 2024
981211c
chore: set up sanchonet ci
bernokl Mar 20, 2024
7fec6cb
Merge pull request #1164 from input-output-hk/conway-sanchonet-ci
bernokl Mar 20, 2024
d20b0f1
test(e2e): send drep reg cert only if not already registered
iccicci Mar 20, 2024
ee10398
Merge pull request #1169 from input-output-hk/master
mirceahasegan Mar 21, 2024
1175dac
test(e2e): run conway era e2e tests with new serialization enabled
mirceahasegan Mar 20, 2024
f39f1ee
Merge pull request #1163 from input-output-hk/test/LW-9898-conway-tx
iccicci Mar 21, 2024
b7e5e3f
Merge pull request #1170 from input-output-hk/test/lw-9886-enable-for…
mirceahasegan Mar 21, 2024
30d926c
chore: bump db-sync to sancho-4.1.0
iccicci Mar 21, 2024
f6b512a
feat(cardano-services): add distinction between constitutional commit…
iccicci Mar 27, 2024
cd9f4b4
Merge pull request #1174 from input-output-hk/feat/LW-9422-committe-c…
iccicci Mar 28, 2024
b96b0c0
test(cardano-services): add conway era txs unit tests
iccicci Mar 28, 2024
8ca8b72
Merge pull request #1188 from input-output-hk/test/LW-9419-conway-era…
iccicci Apr 3, 2024
2378a83
chore(cardano-services): cardano-configurations
mirceahasegan Mar 22, 2024
bf1e13b
chore: Upgrade to cardano-node 8.9.1
mirceahasegan Mar 22, 2024
52781aa
chore: ogmios 6.2.0
mirceahasegan Mar 28, 2024
4273cbd
Merge pull request #1184 from input-output-hk/feat/lw-7692-upgrade-no…
iccicci Apr 3, 2024
9e1b3fe
Merge branch 'master' into conway-era
iccicci Apr 3, 2024
de8e9f0
chore: add live-sanchonet long url
bernokl Apr 8, 2024
2aeeabb
chore: add additional live-sanchonet url
bernokl Apr 8, 2024
aaf450b
chore add context for live-sanchonet deploy
bernokl Apr 8, 2024
5560fd9
chore: remove incorrect long url
bernokl Apr 9, 2024
ec1ab0c
test(cardano-services): re-enable test "buildAndQuery, queryPoolHashe…
iccicci Apr 10, 2024
f6a0d36
test(cardano-services): re-enable test "finds transactions with addre…
iccicci Apr 10, 2024
ded2b5f
Merge pull request #1202 from input-output-hk/test/LW-9889-re-enable-…
iccicci Apr 12, 2024
dcd237d
Merge branch 'master' into conway-era
iccicci Apr 12, 2024
58da17c
test(e2e): make transaction test compliant with new wallet.governance…
iccicci Apr 12, 2024
a77f580
Merge branch 'master' into chore/merge-master-to-conway-era
michalrus Apr 12, 2024
07d01d5
Merge pull request #1210 from input-output-hk/chore/merge-master-to-c…
michalrus Apr 12, 2024
a8a233a
Merge pull request #1203 from input-output-hk/sancho_long_url
bernokl Apr 12, 2024
7cbfeed
chore: enable running on AArch64 (`conway-era`) (#1172)
michalrus Apr 12, 2024
e66d6a8
chore: adjust E2E for both macOSes (AArch64, x86_64) (#1206)
michalrus Apr 12, 2024
26331ff
Merge branch 'master' into conway-era
iccicci May 6, 2024
e4e8469
chore: fixed .env.sanchonet and .env.local files and honored last one
iccicci May 6, 2024
77db600
Merge pull request #1244 from input-output-hk/chore/merge-master-conw…
iccicci May 6, 2024
3b039f5
Merge pull request #1248 from input-output-hk/master
mirceahasegan May 7, 2024
cace9ad
Merge branch 'master' into conway-era
iccicci May 9, 2024
205c1e4
chore: node 8.10.1-pre
mirceahasegan Apr 18, 2024
d46b524
git subrepo pull --force packages/cardano-services/config
mirceahasegan Apr 18, 2024
f00311b
chore: db-sync sancho-4-2-1
mirceahasegan Apr 18, 2024
6e5937c
chore(e2e): local-network config file update
mirceahasegan Apr 18, 2024
4bf431d
chore(e2e): cardano-cli conway and include reference-script-size
mirceahasegan Apr 18, 2024
11f3f43
chore(e2e): calc fee twice to account for tx size increase
mirceahasegan Apr 18, 2024
96965bd
test(cardano-services): deregister stake key only for the test wallet
mirceahasegan May 8, 2024
f17ac1c
chore: bump ogmios 6.3.0
mirceahasegan May 9, 2024
ae4907e
feat(core): add new ogmios txsubmit errors
mirceahasegan May 9, 2024
d4e6724
feat(ogmios): mapTxIn is needed in error parsing
mirceahasegan May 9, 2024
f8903a1
feat: handle UnknownOutputReferences ogmios tx submit error
mirceahasegan May 9, 2024
ca2b662
test(e2e): feed drep wallet based on drepDeposit
mirceahasegan May 9, 2024
c41d959
fix: cardano-submit-api errors do not have structured details
mirceahasegan May 9, 2024
b621955
feat(cardano-services): extract rewards which are not correlated to a…
mirceahasegan May 13, 2024
0026e5a
test(cardano-services): do conway proposal from account 1
mirceahasegan May 14, 2024
e7a8d58
chore(cardano-services): update fixtures
mirceahasegan May 14, 2024
d0e1d13
Merge pull request #1222 from input-output-hk/chore/node-8.10-pre-upg…
mirceahasegan May 15, 2024
7e80d94
Merge branch 'master' into chore/master-to-conway-era-merge
mirceahasegan May 15, 2024
5807a8d
Merge pull request #1277 from input-output-hk/chore/master-to-conway-…
mirceahasegan May 16, 2024
54e6f89
test(e2e): re-enable previously skipped test
iccicci May 16, 2024
2b31a9b
Merge pull request #1283 from input-output-hk/test/enable-skipped-test
iccicci May 16, 2024
3b4d92a
Merge branch 'master' into chore/master-to-conway-era-merge
mirceahasegan May 27, 2024
772c026
feat(e2e): run e2e test on slow networks like preprod/preview
mirceahasegan May 21, 2024
b954564
chore(e2e): make local-testnet slower
mirceahasegan May 22, 2024
30a115d
fix: local-network startup script
iccicci May 27, 2024
d3d760b
test(e2e): move conway transactions test to epoch 3 test suite
iccicci May 28, 2024
7ad78de
Merge pull request #1304 from input-output-hk/feat/LW-10619-make-loca…
mirceahasegan May 28, 2024
1462aeb
chore(e2e): add a wait for epoch 1 db-sync workaraound
iccicci May 28, 2024
83ce14e
Merge branch 'master' into chore/master-to-conway-era-merge
mirceahasegan May 28, 2024
54a61c0
Merge branch 'conway-era' into chore/master-to-conway-era-merge
mirceahasegan May 28, 2024
fc26bfa
Merge pull request #1303 from input-output-hk/chore/master-to-conway-…
mirceahasegan May 28, 2024
f74bf12
Merge branch 'master' into conway-era
iccicci May 30, 2024
c13889c
Merge branch 'master' into conway-era
iccicci May 31, 2024
ebe7b69
refactor(cardano-services): use new deposit fields from db-sync
iccicci Jun 5, 2024
01e4393
Merge pull request #1316 from input-output-hk/refactor/LW-10561-use-d…
iccicci Jun 5, 2024
fbde69d
feat(core): align conway new protocol params
mirceahasegan Apr 15, 2024
d7e1d40
feat(core): update serialization with new protocol params update fields
mirceahasegan Apr 15, 2024
82b9ad3
feat(cardano-services): network info provider new protocol params
mirceahasegan Apr 15, 2024
342bb3c
fix(cardano-services): min_committee_size renamed to committee_min_size
mirceahasegan Apr 16, 2024
90e84fa
fix(cardano-services): committee_term_limit renamed to committee_max_…
mirceahasegan Apr 16, 2024
79eb6a9
fix(cardano-services): committee_term_limit renamed to governance_act…
mirceahasegan Apr 16, 2024
9501b18
fix(cardano-services): drep_inactivity renamed to drep_activity
mirceahasegan Apr 16, 2024
127dd03
fix(core)!: typo commiteeNoConfidence committeeNoConfidence
mirceahasegan Apr 17, 2024
36c3291
feat(cardano-services)!: map pvt/dvt dbSync fields to pool/drep votin…
mirceahasegan Apr 17, 2024
e2dfd4c
fix(core)!: typo commiteeNoConfidence committeeNoConfidence
mirceahasegan Apr 17, 2024
a0d3fc0
feat: serialize only valid conway params in gov action
mirceahasegan Apr 17, 2024
808d8c9
fix(core)!: decentralizationParameter was removed in babbage
mirceahasegan Apr 17, 2024
aff5eef
test(e2e): submit parameter_change_action
mirceahasegan Apr 18, 2024
4426b38
refactor: add fraction utils and hoist to core
mirceahasegan Jun 10, 2024
88493d4
feat(cardano-services): map conway protocol params update action
mirceahasegan Jun 10, 2024
2cf48b2
Merge pull request #1327 from input-output-hk/feat/lw-9927-submit-con…
mirceahasegan Jun 11, 2024
ae99220
Merge branch 'master' into conway-era
iccicci Jun 12, 2024
e66686a
test(ogmios): update snapshot to batch the new encoding
iccicci Jun 12, 2024
ced6207
chore: add local-network deploy
bernokl Jun 6, 2024
c9f8acd
chore: define volumes on backend
bernokl Jun 12, 2024
ebca951
chore: add configurable volumes to provider resource
gytis-ivaskevicius Jun 13, 2024
3926464
chore: update operables to accomodate local-config
bernokl Jun 13, 2024
e6bec69
chore: give operable new commit hash
bernokl Jun 13, 2024
3c44026
chore: build the sdk with new cjs specific script in nix images build
iccicci Jun 17, 2024
b37fdc1
fixup! chore: build the sdk with new cjs specific script in nix image…
iccicci Jun 17, 2024
1a8a067
chore: update SUBMIT_API_URL for local-network
gytis-ivaskevicius Jun 19, 2024
e9da018
Merge pull request #1324 from input-output-hk/deploy_local_network
bernokl Jun 19, 2024
c1a8329
chore: bump dependencies version
iccicci Jun 19, 2024
5b7ed5f
chore: revert 0026e5a6ace to restore conway transaction e2e test orig…
iccicci Jun 19, 2024
bb219b6
refactor(e2e): reduce the initial delay in local-network from one to …
iccicci Jun 20, 2024
28b117c
chore: dump local-network configuration
iccicci Jun 21, 2024
e165c9e
chore: start local-netowrk ci-pipeline
bernokl Jun 21, 2024
712616d
Merge pull request #1344 from input-output-hk/chore/local-ci
bernokl Jun 21, 2024
b479071
Merge branch 'master' into chore/master-to-conway-era-merge
mirceahasegan Jun 24, 2024
af92932
chore: adjust tests
mirceahasegan Jun 24, 2024
05f7407
chore(cardano-services): git merge added unwanted join statements
mirceahasegan Jun 25, 2024
7a63ab7
Merge pull request #1347 from input-output-hk/chore/master-to-conway-…
mirceahasegan Jun 26, 2024
d655f62
chore: update configuration to 6d7fac44d6a877ae9a3cf5eeda163ae539b17774
mirceahasegan Jul 12, 2024
5b4012f
chore: bump node9.0.0 ogmios6.5.0 db-sync13.3.0.0
mirceahasegan Jul 12, 2024
71b4a30
chore(e2e): update local-network
mirceahasegan Jul 12, 2024
4e12190
chore(e2e): use custom CLI
mirceahasegan Jul 16, 2024
1d4271f
Merge pull request #1370 from input-output-hk/chore/lw-10279-node-upg…
mirceahasegan Jul 18, 2024
13d1304
chore(e2e): remove the cardano-cli blob and use a release version
mirceahasegan Jul 19, 2024
b02092d
fix(e2e): use node 9.0.0 in install script too
mirceahasegan Jul 18, 2024
e68c59b
fix(cardano-services)!: conway protocol parameters could be undefined…
mirceahasegan Jul 19, 2024
f916c0d
Merge pull request #1378 from input-output-hk/fix/backout-cli-blob
mirceahasegan Jul 22, 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
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
on:
pull_request:
push:
branches: ['master']
branches: ['master', 'conway-era']
tags: ['*.*.*']

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
on:
pull_request:
push:
branches: ['master']
branches: ['master', 'conway-era']
tags: ['*.*.*']

jobs:
Expand Down
31 changes: 22 additions & 9 deletions .github/workflows/std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ on:
type: boolean
required: true
default: false
deploy-dev-sanchonet:
description: Deploy to dev-sanchonet
type: boolean
required: true
default: false
deploy-local-network:
description: Deploy to local-network
type: boolean
required: true
default: false
workflow_call:
inputs:
deploy-dev-preprod:
Expand Down Expand Up @@ -59,7 +69,7 @@ on:
env:
# NIX_UPLOAD_CACHE: s3://lace-nix-cache?region=us-east-1
DISCOVERY_USER_NAME: gha-runner
DISCOVERY_KNOWN_HOSTS_ENTRY: "65.109.126.156 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOVVDZydvD+diYa6A3EtA3WGw5NfN0wv7ckQxa/fX1O"
DISCOVERY_KNOWN_HOSTS_ENTRY: '65.109.126.156 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEOVVDZydvD+diYa6A3EtA3WGw5NfN0wv7ckQxa/fX1O'
concurrency:
group: std-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -106,6 +116,9 @@ jobs:
if [ "true" == ${{ inputs.deploy-dev-preview || (github.event_name == 'push' && github.ref_name == 'master') }} ] ; then
echo '{"environment":"dev-preview", "target":"dev-preview@us-east-1", "url": "https://dev-preview.lw.iog.io/"}'
fi
if [ "true" == ${{ inputs.deploy-dev-sanchonet || (github.event_name == 'push' && github.ref_name == 'conway-era') }} ] ; then
echo '{"environment":"dev-sanchonet", "target":"dev-sanchonet@us-east-1@v1", "url": "https://dev-sanchonet.lw.iog.io/"}'
fi
if [ "true" == ${{ inputs.deploy-dev-preprod || false }} ] ; then
echo '{"environment":"dev-preprod", "target":"dev-preprod@us-east-1@v2", "url": "https://dev-preprod.lw.iog.io/"}'
fi
Expand All @@ -118,17 +131,19 @@ jobs:
if [ "true" == ${{ inputs.deploy-dev-mainnet || false }} ] ; then
echo '{"environment":"dev-mainnet", "target":"dev-mainnet@us-east-1", "url": "https://dev-mainnet.lw.iog.io/"}'
fi
if [ "true" == ${{ inputs.deploy-local-network || false }} ] ; then
echo '{"environment":"local-network", "target":"local-network@us-east-1@v1", "url": "https://local-network.lw.iog.io/"}'
fi
) | jq --slurp >deployment-matrix.json

cat deployment-matrix.json

# TODO: should we remove the trailing double quotes?
echo "deployment-matrix=$(cat deployment-matrix.json | jq -c . | jq --raw-input)" >> "$GITHUB_OUTPUT"
- uses: divnix/std-action/discover@main
with: {ffBuildInstructions: true}
with: { ffBuildInstructions: true }
id: discovery


images:
name: ${{ matrix.target.jobName }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -173,13 +188,12 @@ jobs:
echo commit: ${{ github.sha }}
- uses: divnix/std-action/run@main
if: matrix.target != 'dummy-target'
with: {ffBuildInstructions: true, remoteStore: "ssh-ng://eu.nixbuild.net"}

with: { ffBuildInstructions: true, remoteStore: 'ssh-ng://eu.nixbuild.net' }

diff:
needs: images
name: Diff & Comment
if: github.event_name == 'pull_request' && (github.base_ref == 'master')
if: github.event_name == 'pull_request' && (github.base_ref == 'master' || github.base_ref == 'conway-era')
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -248,7 +262,7 @@ jobs:
- name: Post Comment on the PR
env:
GH_TOKEN: ${{ github.token }}
COMMENT_MARKER: "nix-helm-diff-777f3796-c80d-4d68-bf4f-8faad564f03f"
COMMENT_MARKER: 'nix-helm-diff-777f3796-c80d-4d68-bf4f-8faad564f03f'
run: |
prNumber=$(cut -d/ -f1 <<<'${{ github.ref_name }}')
# The `gh` command doesn’t return numeric comment ids, but instead node_ids, which don’t work with the regular API
Expand Down Expand Up @@ -276,9 +290,8 @@ jobs:
-d @curl-patch-data.json
fi


deploy:
needs: [images,discover]
needs: [images, discover]
concurrency:
# Only one deployment at a time per environment, and wait for the previous one to finish:
group: deploy-${{ matrix.environment }}
Expand Down
8 changes: 4 additions & 4 deletions compose/aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

services:
cardano-db-sync:
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.2.0.2}
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.3.0.0}
cardano-node:
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-node:${CARDANO_NODE_VERSION:-8.9.2}
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-node:${CARDANO_NODE_VERSION:-9.0.0}
ogmios:
image: ghcr.io/input-output-hk/ogmios-tracker/ogmios:v${OGMIOS_VERSION:-6.3.0}
image: ghcr.io/input-output-hk/ogmios-tracker/ogmios:v${OGMIOS_VERSION:-6.5.0}
cardano-submit-api:
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-submit-api:${CARDANO_NODE_VERSION:-8.9.2}
image: ghcr.io/input-output-hk/ogmios-tracker/cardano-submit-api:${CARDANO_NODE_VERSION:-9.0.0}
12 changes: 6 additions & 6 deletions compose/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ x-provider-server-environment: &provider-server-environment
SERVICE_NAMES: ${SERVICE_NAMES:-chain-history,network-info,rewards,stake-pool,tx-submit,utxo}
SUBMIT_API_URL: ${SUBMIT_API_URL:-http://cardano-submit-api:8090/}
USE_BLOCKFROST: ${USE_BLOCKFROST:-false}
USE_SUBMIT_API: ${USE_SUBMIT_API:-false}
USE_SUBMIT_API: ${USE_SUBMIT_API:-true}

x-sdk-environment: &sdk-environment
LOGGER_MIN_SEVERITY: ${LOGGER_MIN_SEVERITY:-info}
Expand Down Expand Up @@ -111,7 +111,7 @@ services:
depends_on:
ogmios:
condition: service_healthy
image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.2.0.2}
image: ghcr.io/intersectmbo/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.3.0.0}
restart: on-failure
stop_signal: SIGINT
volumes:
Expand All @@ -122,7 +122,7 @@ services:
<<:
- *logging
- *with-postgres
image: ghcr.io/intersectmbo/cardano-smash-server:${CARDANO_DB_SYNC_VERSION:-13.2.0.2}-docker
image: ghcr.io/intersectmbo/cardano-smash-server:${CARDANO_DB_SYNC_VERSION:-13.3.0.0}
command: ['--config', '/config/cardano-db-sync/config.json']
environment:
POSTGRES_HOST: postgres
Expand All @@ -143,7 +143,7 @@ services:

cardano-node:
<<: *logging
image: ghcr.io/intersectmbo/cardano-node:${CARDANO_NODE_VERSION:-8.9.2}
image: ghcr.io/intersectmbo/cardano-node:${CARDANO_NODE_VERSION:-9.0.0}
command:
[
'run',
Expand All @@ -163,7 +163,7 @@ services:

ogmios:
<<: *logging
image: cardanosolutions/ogmios:v${OGMIOS_VERSION:-6.3.0}
image: cardanosolutions/ogmios:v${OGMIOS_VERSION:-6.5.0}
command:
['--host', '0.0.0.0', '--node-socket', '/ipc/node.socket', '--node-config', '/config/cardano-node/config.json']
depends_on:
Expand All @@ -179,7 +179,7 @@ services:

cardano-submit-api:
command: --config /config/cardano-submit-api/config.json --listen-address 0.0.0.0 --socket-path /ipc/node.socket $SUBMIT_API_ARGS
image: ghcr.io/intersectmbo/cardano-submit-api:${CARDANO_NODE_VERSION:-8.9.2}
image: ghcr.io/intersectmbo/cardano-submit-api:${CARDANO_NODE_VERSION:-9.0.0}
ports:
- 8090:8090
restart: on-failure
Expand Down
2 changes: 2 additions & 0 deletions nix/cardano-services/deployments/backend.provider.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,7 @@
POSTGRES_SSL_HANDLE = "true";
POSTGRES_SSL_CA_FILE_HANDLE = "/tls/ca.crt";
};
volumeMounts."s3-config-mount".mountPath = "/config";
volumes."s3-config-mount".persistentVolumeClaim.claimName = "${config.namespace}-local-conifig-s3-pvc";
};
}
71 changes: 71 additions & 0 deletions nix/cardano-services/deployments/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,77 @@ in
};
};

"local-network@us-east-1@v1" = final: {
namespace = "local-network";
name = "${final.namespace}-cardanojs-v1";
network = "local";
region = "us-east-1";

providers = {
backend = {
enabled = true;
env.USE_SUBMIT_API = "true";
env.USE_BLOCKFROST = lib.mkForce "false";
env.SUBMIT_API_URL = "http://${final.namespace}-cardano-core.${final.namespace}.svc.cluster.local:8090";
};
stake-pool-provider = {
enabled = true;
env.OVERRIDE_FUZZY_OPTIONS = "true";
};
};

projectors = {
stake-pool.enabled = true;
};

values = {
blockfrost-worker.enabled = false;
pg-boss-worker.enabled = true;

backend.allowedOrigins = lib.concatStringsSep "," allowedOriginsDev;
backend.routes = let
inherit (oci.meta) versions;
in
lib.concatLists [
(map (v: "/v${v}/health") versions.root)
(map (v: "/v${v}/live") versions.root)
(map (v: "/v${v}/meta") versions.root)
(map (v: "/v${v}/ready") versions.root)
(map (v: "/v${v}/asset") versions.assetInfo)
(map (v: "/v${v}/chain-history") versions.chainHistory)
(map (v: "/v${v}/network-info") versions.networkInfo)
(map (v: "/v${v}/rewards") versions.rewards)
(map (v: "/v${v}/tx-submit") versions.txSubmit)
(map (v: "/v${v}/utxo") versions.utxo)
(map (v: "/v${v}/handle") versions.handle)
(map (v: "/v${v}/provider-server") versions.stakePool)
(map (v: "/v${v}/stake-pool-provider-server") versions.stakePool)
];

cardano-services = {
ingresOrder = 99;
additionalRoutes = [
{
pathType = "Prefix";
path = "/v1.0.0/stake-pool";
backend.service = {
name = "${final.namespace}-cardanojs-v1-stake-pool-provider";
port.name = "http";
};
}
{
pathType = "Prefix";
path = "/v3.0.0/chain-history";
backend.service = {
name = "${final.namespace}-cardanojs-v1-backend";
port.name = "http";
};
}
];
};
};
};

"live-sanchonet@us-east-2@v1" = final: {
namespace = "live-sanchonet";
name = "${final.namespace}-cardanojs-v1";
Expand Down
2 changes: 1 addition & 1 deletion nix/cardano-services/deployments/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ in {
};

network = lib.mkOption {
type = types.enum ["mainnet" "preprod" "preview" "sanchonet"];
type = types.enum ["mainnet" "preprod" "preview" "sanchonet" "local"];
description = "Network of the deployment";
};
};
Expand Down
38 changes: 26 additions & 12 deletions nix/cardano-services/deployments/provider.resource.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ in {
args = mkOption {
type = types.listOf types.str;
};

volumeMounts = mkOption {
type = types.attrsOf types.attrs;
default = {};
};

volumes = mkOption {
type = types.attrsOf types.attrs;
default = {};
};
};
});

Expand Down Expand Up @@ -133,20 +143,24 @@ in {
};
env = utils.mkPodEnv value.env;

volumeMounts = [
{
mountPath = "/tls";
name = "tls";
}
];
}
];
volumes = [
{
name = "tls";
secret.secretName = "postgresql-server-cert";
volumeMounts =
[
{
mountPath = "/tls";
name = "tls";
}
]
++ (lib.mapAttrsToList (name: v: v // {inherit name;}) value.volumeMounts);
}
];
volumes =
[
{
name = "tls";
secret.secretName = "postgresql-server-cert";
}
]
++ (lib.mapAttrsToList (name: v: v // {inherit name;}) value.volumes);
};
};
};
Expand Down
8 changes: 5 additions & 3 deletions nix/cardano-services/operables.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ in {
export API_URL=''${API_URL:-http://0.0.0.0:3000}
export CLI="${runCardanoServices package}/dist/cjs/cli.js"
export CARDANO_NODE_CONFIGS_DIR="${cardanoServicesPath package}/config/network"

if [ -n "$NETWORK" ]; then
export CARDANO_NODE_CONFIG_PATH="$CARDANO_NODE_CONFIGS_DIR/''${NETWORK}/cardano-node/config.json"
if [ "$NETWORK" = "local" ]; then
export CARDANO_NODE_CONFIG_PATH="/config/network/cardano-node/config.json"
else
export CARDANO_NODE_CONFIG_PATH="$CARDANO_NODE_CONFIGS_DIR/''${NETWORK}/cardano-node/config.json"
fi
fi

exec $CLI "$@"
'';
meta.description = "A transparent (thin) wrapper around the Cardano Services CLI";
Expand Down
12 changes: 10 additions & 2 deletions packages/cardano-services/config/.github/scripts/download-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mkdir -p \

wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/topology.json -O network/$CARDANO_NETWORK/cardano-node/topology.json
wget -qO- $CARDANO_CONFIG_URL/$CARDANO_NETWORK/config.json \
| jq '.ByronGenesisFile = "../genesis/byron.json" | .ShelleyGenesisFile = "../genesis/shelley.json" | .AlonzoGenesisFile = "../genesis/alonzo.json" | .ConwayGenesisFile = "../genesis/conway.json"' \
| jq '.ByronGenesisFile = "../genesis/byron.json" | .ShelleyGenesisFile = "../genesis/shelley.json" | .AlonzoGenesisFile = "../genesis/alonzo.json"' \
| jq '.' > network/$CARDANO_NETWORK/cardano-node/config.json
wget -qO- $CARDANO_CONFIG_URL/$CARDANO_NETWORK/db-sync-config.json \
| jq '.NodeConfigFile = "../cardano-node/config.json"' \
Expand All @@ -25,4 +25,12 @@ wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/submit-api-config.json -O network/$
wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/byron-genesis.json -O network/$CARDANO_NETWORK/genesis/byron.json
wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/shelley-genesis.json -O network/$CARDANO_NETWORK/genesis/shelley.json
wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/alonzo-genesis.json -O network/$CARDANO_NETWORK/genesis/alonzo.json
wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/conway-genesis.json -O network/$CARDANO_NETWORK/genesis/conway.json
if wget --spider $CARDANO_CONFIG_URL/$CARDANO_NETWORK/conway-genesis.json 2>/dev/null; then
wget -q $CARDANO_CONFIG_URL/$CARDANO_NETWORK/conway-genesis.json -O network/$CARDANO_NETWORK/genesis/conway.json
mv network/$CARDANO_NETWORK/cardano-node/config.json network/$CARDANO_NETWORK/cardano-node/config.json.tmp
cat network/$CARDANO_NETWORK/cardano-node/config.json.tmp \
| jq '.ConwayGenesisFile = "../genesis/conway.json"' \
| jq '.' > network/$CARDANO_NETWORK/cardano-node/config.json
rm network/$CARDANO_NETWORK/cardano-node/config.json.tmp
fi

4 changes: 2 additions & 2 deletions packages/cardano-services/config/.gitrepo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[subrepo]
remote = https://github.com/input-output-hk/cardano-configurations.git
branch = master
commit = fa19a63c9a2050940583b10e9f39ed02e3cf306f
parent = eaa27b7861fb098c100724e74a5cf00fda1467be
commit = 6d7fac44d6a877ae9a3cf5eeda163ae539b17774
parent = 7a63ab70ea8640b07cd9c38cb77f22d76875e576
method = merge
cmdver = 0.4.6
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"AlonzoGenesisHash": "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874",
"ByronGenesisFile": "../genesis/byron.json",
"ByronGenesisHash": "5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb",
"ConwayGenesisFile": "../genesis/conway.json",
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
"EnableP2P": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
Expand Down
Loading
Loading