Fix govern script (#1046)

pull/1081/head
Nam Chu Hoai 2 years ago committed by GitHub
parent 1c67fc968f
commit 6660376d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      typescript/infra/src/core/govern.ts

@ -95,7 +95,9 @@ export class AbacusCoreGovernor<Chain extends ChainName> {
const confirmed = await summarizeCalls(submissionType, calls);
if (confirmed) {
console.log(`Submitting calls on ${chain} via ${submissionType}`);
await multiSend.sendTransactions(calls);
await multiSend.sendTransactions(
calls.map((call) => ({ to: call.to, data: call.data })),
);
} else {
console.log(
`Skipping submission of calls on ${chain} via ${submissionType}`,

Loading…
Cancel
Save