Skip to content

Commit e7cbdba

Browse files
committed
fix contract name, set docker image to latest
1 parent 5639632 commit e7cbdba

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

__tests__/contrat1.test.ts renamed to __tests__/contract1.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('JSD tests', () => {
5252

5353
it('instantiate contract', async () => {
5454
// Read contract code from external file
55-
const contractPath = path.join(__dirname, '../contracts/contract1.js');
55+
const contractPath = path.join(__dirname, '../dist/contracts/bundle1.js');
5656
contractCode = fs.readFileSync(contractPath, 'utf8');
5757

5858
const fee = {
@@ -186,6 +186,7 @@ describe('JSD tests', () => {
186186
creator: address,
187187
index: contractIndex,
188188
fnName: "read",
189+
arg: "",
189190
});
190191

191192
const result = await signingClient.signAndBroadcast(address, [msg], fee);

configs/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ chains:
55
- id: hyperweb
66
name: custom
77
numValidators: 1
8-
image: ghcr.io/cosmology-tech/jsd:v0.1
8+
image: ghcr.io/cosmology-tech/jsd:latest
99
home: /root/.jsd
1010
binary: jsdd
1111
prefix: hyper

configs/local.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ chains:
55
- id: hyperweb
66
name: custom
77
numValidators: 1
8-
image: ghcr.io/cosmology-tech/jsd:v0.1
8+
image: ghcr.io/cosmology-tech/jsd:latest
99
home: /root/.jsd
1010
binary: jsdd
1111
prefix: hyper

0 commit comments

Comments
 (0)