Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Nov 29, 2023
1 parent d2231f7 commit 3b1178e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions bouncer/shared/try_runtime_upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ import { execSync } from 'child_process';
import { compileBinaries } from './utils/compile_binaries';

function tryRuntimeCommand(runtimePath: string, blockParam: string, networkUrl: string) {
execSync(
`try-runtime --runtime ${runtimePath} on-runtime-upgrade --disable-spec-version-check --checks all ${blockParam} --uri ${networkUrl}`,
// { stdio: 'ignore' },
);
try {
execSync(
`try-runtime --runtime ${runtimePath} on-runtime-upgrade --disable-spec-version-check --checks all ${blockParam} --uri ${networkUrl}`,
// { stdio: 'ignore' },
);
} catch (error) {
console.log('Error:', error);
console.log('Standard Error Output:', error.stderr.toString());
}

}

// 4 options:
Expand Down

0 comments on commit 3b1178e

Please sign in to comment.