Skip to content

Commit

Permalink
fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed May 3, 2023
1 parent 8ae09a9 commit 91c9a2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion yarn-project/l1-artifacts/scripts/update-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ echo "' as const;" >> ./generated/UnverifiedDataEmitterBytecode.ts;

echo -ne "export * from './DecoderHelperAbi.js';\nexport * from './DecoderHelperBytecode.js';\n" > ./generated/index.ts;
echo -ne "export * from './RollupAbi.js';\nexport * from './RollupBytecode.js';\n" >> ./generated/index.ts;
echo -ne "export * from './UnverifiedDataEmitterAbi.js';\nexport * from './UnverifiedDataEmitterBytecode.js';" >> ./generated/index.ts;
echo -ne "export * from './UnverifiedDataEmitterAbi.js';\nexport * from './UnverifiedDataEmitterBytecode.js';" >> ./generated/index.ts;

echo "Successfully updated artifacts!";
5 changes: 4 additions & 1 deletion yarn-project/yarn-project-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ COPY world-state/tsconfig.json world-state/tsconfig.json
COPY yarn-project-base/scripts yarn-project-base/scripts
RUN yarn prepare:check

# We copy l1-artifacts scripts to be able to generate TS-importable contract artifacts
COPY l1-artifacts/scripts l1-artifacts/scripts

# Generate TS-importable contract artifacts
WORKDIR /usr/src/yarn-project/l1-artifacts
RUN yarn generate
RUN ./scripts/update-artifacts.sh

0 comments on commit 91c9a2b

Please sign in to comment.