Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/bridge-offchain-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:

# wait for attestations for the source block where we burned the tokens
echo "INFO: Wait for mint query to be processed by the USC contract"
sleep 480
timeout 1080 bash -c 'until grep -q "Tokens minted!" /var/tmp/bridge-offchain-worker-logs/offchain-worker.log; do sleep 5; done'
grep "Tokens minted!" /var/tmp/bridge-offchain-worker-logs/offchain-worker.log

echo "INFO: Verify bridged tokens"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"tsx": "^4.20.3"
},
"dependencies": {
"@gluwa/usc-sdk": "0.9.0",
"@gluwa/usc-sdk": "0.11.0",
"@openzeppelin/contracts": "5.4.0",
"@types/node": "25.6.0",
"dotenv": "17.4.2",
Expand Down
2 changes: 1 addition & 1 deletion utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function generateProofFor(

// We wait for at most 20 minutes for the attestation to be available
// In practice this should take about 8 minutes, but we're being conservative to make the examples robust.
await info.waitUntilHeightAttested(chainKey, blockNumber + 10, 5_000, 1_200_000);
await info.waitUntilHeightAttested(chainKey, blockNumber + 10, 5_000, 1_200_000, 15_000);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


console.log(`Block ${blockNumber} attested! Generating proof...`);

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2"
integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==

"@gluwa/usc-sdk@0.9.0":
version "0.9.0"
resolved "https://registry.yarnpkg.com/@gluwa/usc-sdk/-/usc-sdk-0.9.0.tgz#ad8cbf16e4ac7953aead9d9ed86ebb6647c6fcb7"
integrity sha512-O1ziQTi5cLoP1ruaVxgbXzPBGlkil6jqo9VyWdjbYrtm9X0DtDz7OxZ9wVR7m0bkGKutF0pRbaAvKGI0E6R3LA==
"@gluwa/usc-sdk@0.11.0":
version "0.11.0"
resolved "https://registry.yarnpkg.com/@gluwa/usc-sdk/-/usc-sdk-0.11.0.tgz#487acb6e627ece6c6b11d8d7c301f880aee66f0b"
integrity sha512-TygYUJjE3/VBARtAET+Rb5D4eCYkkmcR9H9RMt6DJVgMoB+knb5LKqPkeS3qG0Js1keZelGW8fafDvgaOX+Aqw==
dependencies:
axios "^1.13.2"
dotenv "^17.2.3"
Expand Down
Loading