Skip to content

Commit

Permalink
fix: remove more instances of .cjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 16, 2021
1 parent b9f5e71 commit 0f61d9b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ REFERENCES TO YOUR TAGS.
To make validators' lives easier, create a tag for the chain-id:

```sh
SDK_VERSION=2.17.0 # Set this as necessary
CHAIN_ID=agoricstage-4 # Also change this
SDK_VERSION=$(jq -r .version package.json)
CHAIN_ID=agoricstage-8 # Change this as necessary
git tag -s -m "release $CHAIN_ID" $CHAIN_ID @agoric/sdk@$SDK_VERSION^{}
git push origin $CHAIN_ID
```
Expand Down
3 changes: 3 additions & 0 deletions packages/SwingSet/test/device-mailbox/test-device-mailbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ async function initializeMailboxKernel(t) {
const mb = buildMailbox(s);
const config = {
bootstrap: 'bootstrap',
// Can't use 'local' because it's non-deterministic for 'mailbox
// determinism' number of cranks.
defaultManagerType: 'xs-worker',
vats: {
bootstrap: {
bundle: t.context.data.bootstrap,
Expand Down
2 changes: 1 addition & 1 deletion packages/captp/test/test-trap.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const makeWorkerTests = isHost => async t => {

// Small shared array buffer to test iterator.
const transferBuffer = new SharedArrayBuffer(MIN_TRANSFER_BUFFER_LENGTH);
const worker = new Worker(`${dirname}/worker.cjs`);
const worker = new Worker(`${dirname}/worker.js`);
worker.addListener('error', err => t.fail(err));
worker.postMessage({ type: 'TEST_INIT', transferBuffer, isGuest: isHost });

Expand Down
2 changes: 0 additions & 2 deletions packages/captp/test/worker.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion packages/captp/test/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './prepare-test-env.js';
import { assert, details as X } from '@agoric/assert';

import { parentPort } from 'worker_threads';
import { makeGuest, makeHost } from './traplib';
import { makeGuest, makeHost } from './traplib.js';

let dispatch;
parentPort.addListener('message', obj => {
Expand Down
2 changes: 1 addition & 1 deletion packages/deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN echo 'deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main' >> /e
# COPY --from=go-build /go/bin/journalbeat /usr/local/bin/

WORKDIR /usr/src/agoric-sdk/packages/deployment
RUN ln -sf $PWD/src/entrypoint.cjs /usr/local/bin/ag-setup-cosmos
RUN ln -sf $PWD/src/entrypoint.js /usr/local/bin/ag-setup-cosmos

WORKDIR /data/chains

Expand Down

0 comments on commit 0f61d9b

Please sign in to comment.