Skip to content

Commit

Permalink
Improve contract file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed May 2, 2024
1 parent 1f724a9 commit 3b97fdd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { MAX_GAS_DEPLOYMENT, fromMAS } from '@massalabs/web3-utils'
import path from 'path'
import fs from 'fs'
import {
ByteCode,
MAX_GAS_CALL,
Expand All @@ -7,12 +8,12 @@ import {
} from '../../../src/experimental/smartContract'
import { account, client } from './setup'
import { Args } from '../../../src/experimental/basicElements'
import path from 'path'
import fs from 'fs'
import { Address } from '../../../src/experimental/basicElements'
import { MAX_GAS_DEPLOYMENT, fromMAS } from '@massalabs/web3-utils'

const TIMEOUT = 61000
const INSUFFICIENT_MAX_GAS = MIN_GAS_CALL - 1n
const contractPath = path.join(__dirname, './contracts/scTest.wasm')

describe('Smart Contract', () => {
let contractTest: SmartContract
Expand Down Expand Up @@ -55,7 +56,7 @@ describe('Smart Contract', () => {
})

test('deploy', async () => {
const wasmPath = path.join(__dirname, './contracts/main.wasm')
const wasmPath = path.join(__dirname, contractPath)

const byteCode = fs.readFileSync(wasmPath)

Expand Down

0 comments on commit 3b97fdd

Please sign in to comment.