Skip to content

Commit ab4863d

Browse files
chore(bump): Bump canton-erc20 submodule (#337)
* chore(bump): Bump canton-erc20 submodule * update test hardcoding * fix bootstrap usdcx script
1 parent ccb5d76 commit ab4863d

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

scripts/setup/bootstrap-usdcx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var (
5252
tokenURLFlag = flag.String("token-url", "http://mock-oauth2:8088/oauth/token", "OAuth2 token endpoint")
5353
clientIDFlag = flag.String("client-id", "local-test-client", "OAuth2 client ID")
5454
clientSecFlag = flag.String("client-secret", "local-test-secret", "OAuth2 client secret")
55-
cip56PkgID = flag.String("cip56-package-id", "c8c6fe7c34d96b88d6471769aae85063c8045783b2a226fd24f8c573603d17c2", "CIP56 package ID")
55+
cip56PkgID = flag.String("cip56-package-id", "#cip56-token", "CIP56 package ID (name-ref resolves to the deployed version, surviving DAML version bumps)")
5656
// Package IDs from deployments/usdcx-dars/manifest.json
5757
registryAppPkgID = flag.String("registry-app-package-id", "7a75ef6e69f69395a4e60919e228528bb8f3881150ccfde3f31bcc73864b18ab", "utility_registry_app_v0 package ID")
5858
registryPkgID = flag.String("registry-package-id", "a236e8e22a3b5f199e37d5554e82bafd2df688f901de02b00be3964bdfa8c1ab", "utility_registry_v0 package ID")

tests/e2e/devstack/shim/canton.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ import (
1717
"github.com/chainsafe/canton-middleware/tests/e2e/devstack/stack"
1818
)
1919

20-
// Local devnet package IDs — compiled into the DAR files, stable across devnet restarts.
20+
// Package references for the local devnet. Project packages use #name refs so they
21+
// resolve to whatever version is deployed — surviving DAML version bumps without
22+
// edits here. External packages (splice/utility) are pinned by hash.
2123
const (
22-
cip56PackageID = "c8c6fe7c34d96b88d6471769aae85063c8045783b2a226fd24f8c573603d17c2"
24+
cip56PackageID = "#cip56-token"
2325
spliceTransferPackageID = "55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281"
2426
spliceHoldingPackageID = "718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b"
25-
identityPackageID = "c4d8bc62b74dfb93c0feda15cbceb5db16aef37d0e7ee37c17887faa9cbd33b9"
27+
identityPackageID = "#common"
2628
utilityRegistryAppPackageID = "7a75ef6e69f69395a4e60919e228528bb8f3881150ccfde3f31bcc73864b18ab"
2729
utilityRegistryPackageID = "a236e8e22a3b5f199e37d5554e82bafd2df688f901de02b00be3964bdfa8c1ab"
2830
utilityRegistryHoldingPackageID = "8107899ac4723ce986bf7d27416534e576e54b92161e46150a595fb78ff3d3a1"
29-
bridgePackageID = "6fac182df4943e7e2f70360b413b6e3ab10e65289ba0d971978b6d861a860d72"
30-
bridgeCorePackageID = "be290fc1304d9a221def6e04a291368600599c9265f58f942a2b80478c348fca"
31+
bridgePackageID = "#bridge-wayfinder"
32+
bridgeCorePackageID = "#bridge-core"
3133
bridgeModule = "Wayfinder.Bridge"
3234

3335
// cantonUserID is the JWT subject claim emitted by the mock OAuth2 server

0 commit comments

Comments
 (0)