ugprade tools deps and regenerate wrappers (#449)

Co-authored-by: Lawrence Forman <me@merklejerk.com>
This commit is contained in:
Lawrence Forman
2022-03-16 10:14:31 -06:00
committed by GitHub
parent 64c090c4b4
commit 904214f4a8
34 changed files with 317 additions and 295 deletions

View File

@@ -499,7 +499,7 @@ export class CoordinatorContract extends BaseContract {
txDefaults: Partial<TxData>,
libraryAddresses: { [libraryName: string]: string } = {},
): Promise<{ [libraryName: string]: string }> {
const links = artifact.compilerOutput.evm.bytecode.linkReferences;
const links = artifact.compilerOutput.evm.bytecode.linkReferences || {};
// Go through all linked libraries, recursively deploying them if necessary.
for (const link of Object.values(links)) {
for (const libraryName of Object.keys(link)) {