Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions lifecycle/ci-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function main() {
await deployChannelAuth(server, admin, NETWORK_PASSPHRASE, channelAuthHash);

const deployEvents = extractEvents(authDeployTx);
const initResult = verifyEvent(deployEvents, "ContractInitialized", true);
const initResult = verifyEvent(deployEvents, "contract_initialized", true);
if (initResult.found) console.log(" ContractInitialized event verified");

// Step 2: Deploy Channel (Privacy Channel)
Expand All @@ -99,7 +99,7 @@ async function main() {
server, admin, NETWORK_PASSPHRASE, channelAuthId, provider.publicKey(),
);
const addEvents = extractEvents(addTx);
const addResult = verifyEvent(addEvents, "ProviderAdded", true);
const addResult = verifyEvent(addEvents, "provider_added", true);
if (addResult.found) console.log(" ProviderAdded event verified");

// Write provider.env (read by provider-entrypoint.sh)
Expand Down
2 changes: 1 addition & 1 deletion lifecycle/ci-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function main() {
Keypair.fromSecret(providerSecretKey).publicKey(),
);
const removeEvents = extractEvents(removeTx);
const removeResult = verifyEvent(removeEvents, "ProviderRemoved", true);
const removeResult = verifyEvent(removeEvents, "provider_removed", true);
if (removeResult.found) console.log(" ProviderRemoved event verified");

const elapsed = ((Date.now() - startTime) / 1000).toFixed(1);
Expand Down
6 changes: 3 additions & 3 deletions lifecycle/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function main() {
);

const deployEvents = extractEvents(authDeployTx);
const initResult = verifyEvent(deployEvents, "ContractInitialized", true);
const initResult = verifyEvent(deployEvents, "contract_initialized", true);
if (initResult.found) console.log(" ContractInitialized event verified");

// ── Step 2: Deploy Channel (Privacy Channel) ──────────────────
Expand Down Expand Up @@ -124,7 +124,7 @@ async function main() {
);

const addEvents = extractEvents(addTx);
const addResult = verifyEvent(addEvents, "ProviderAdded", true);
const addResult = verifyEvent(addEvents, "provider_added", true);
if (addResult.found) console.log(" ProviderAdded event verified");

// ── Start provider-platform for payment flow ──────────────────
Expand Down Expand Up @@ -220,7 +220,7 @@ async function main() {
);

const removeEvents = extractEvents(removeTx);
const removeResult = verifyEvent(removeEvents, "ProviderRemoved", true);
const removeResult = verifyEvent(removeEvents, "provider_removed", true);
if (removeResult.found) console.log(" ProviderRemoved event verified");

// ── Summary ──────────────────────────────────────────────────
Expand Down
Loading