Skip to content

Commit

Permalink
fix contract name, set docker image to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Oct 3, 2024
1 parent 5639632 commit e7cbdba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion __tests__/contrat1.test.ts → __tests__/contract1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('JSD tests', () => {

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

const fee = {
Expand Down Expand Up @@ -186,6 +186,7 @@ describe('JSD tests', () => {
creator: address,
index: contractIndex,
fnName: "read",
arg: "",
});

const result = await signingClient.signAndBroadcast(address, [msg], fee);
Expand Down
2 changes: 1 addition & 1 deletion configs/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ chains:
- id: hyperweb
name: custom
numValidators: 1
image: ghcr.io/cosmology-tech/jsd:v0.1
image: ghcr.io/cosmology-tech/jsd:latest
home: /root/.jsd
binary: jsdd
prefix: hyper
Expand Down
2 changes: 1 addition & 1 deletion configs/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ chains:
- id: hyperweb
name: custom
numValidators: 1
image: ghcr.io/cosmology-tech/jsd:v0.1
image: ghcr.io/cosmology-tech/jsd:latest
home: /root/.jsd
binary: jsdd
prefix: hyper
Expand Down

0 comments on commit e7cbdba

Please sign in to comment.