Skip to content

Commit

Permalink
Merge branch 'frankie/core#v0.3.0.rc-1' of github.com:entropyxyz/sdk …
Browse files Browse the repository at this point in the history
…into frankie/core#v0.3.0.rc-1
  • Loading branch information
frankiebee committed Oct 18, 2024
2 parents 993529b + 5c9c8b6 commit d60c7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/testing-utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function jumpStartNetwork (entropy, maxTime = 360 * SECONDS) {

const isDone = new Promise(async (res, reject) => {
// if timeout is hit, testing should be exited.
timeout = setTimeout(() => { reject(); process.exit(1) }, maxTime, new Error('jump-start network timed out'))
timeout = setTimeout(() => { unsub(); reject(); process.exit(1) }, maxTime, new Error('jump-start network timed out'))

unsub = await entropy.substrate.query.system.events((records) => {
console.log('event methods:', records.map((record) => record?.event?.method))
Expand Down

0 comments on commit d60c7ab

Please sign in to comment.