diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 023b623..fbf4d4a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-22.04 steps: - run: | - wget -q https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb - sudo apt install --allow-downgrades ./esl-erlang_25.0.4-1~ubuntu~jammy_amd64.deb + wget -q https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_25.2.3-1~ubuntu~jammy_amd64.deb + sudo apt install ./esl-erlang_25.2.3-1~ubuntu~jammy_amd64.deb - uses: actions/checkout@v4 with: fetch-depth: 100 diff --git a/.mocharc.cjs b/.mocharc.cjs index 9496560..e85ea33 100644 --- a/.mocharc.cjs +++ b/.mocharc.cjs @@ -1,6 +1,3 @@ -process.env._EXPECTED_MINE_RATE = 1000 -process.env._MICRO_BLOCK_CYCLE = 300 - module.exports = { recursive: true, timeout: '4s', diff --git a/package-lock.json b/package-lock.json index eb7cc5f..2019335 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "6.0.0", "license": "ISC", "dependencies": { - "@aeternity/aepp-sdk": "^13.3.0", + "@aeternity/aepp-sdk": "^13.3.2", "@azure/core-rest-pipeline": "^1.15.2", "bignumber.js": "^9.1.2", "commander": "^12.0.0", @@ -62,9 +62,9 @@ } }, "node_modules/@aeternity/aepp-sdk": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-13.3.0.tgz", - "integrity": "sha512-n2UCz+jWisFrZ6D60LMyl1fUOWmEPcH6KvfwjAibSEUXtEFXDAYP7BjjPEap3po0VKvHMrZpKWBI2UkGZ2ylxg==", + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-13.3.2.tgz", + "integrity": "sha512-aaXQAOZKTkCYwc49+pqo1V9qHU8IhPzZkIcKaCK//ogrr2twCmV1Hh5p1r6OR4fhLaNTEPqMGK86HNGWUphWjw==", "dependencies": { "@aeternity/aepp-calldata": "^1.7.0", "@aeternity/argon2": "^0.0.1", diff --git a/package.json b/package.json index ba73842..e8fac0e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "type": "module", "dependencies": { - "@aeternity/aepp-sdk": "^13.3.0", + "@aeternity/aepp-sdk": "^13.3.2", "@azure/core-rest-pipeline": "^1.15.2", "bignumber.js": "^9.1.2", "commander": "^12.0.0", diff --git a/src/utils/cli.js b/src/utils/cli.js index 448f0f1..15d0e0e 100644 --- a/src/utils/cli.js +++ b/src/utils/cli.js @@ -16,10 +16,6 @@ export function initSdk({ url, keypair, compilerUrl, force: ignoreVersion, networkId, accounts = [], } = {}) { return new AeSdk({ - /* eslint-disable no-underscore-dangle */ - _expectedMineRate: process.env._EXPECTED_MINE_RATE, - _microBlockCycle: process.env._MICRO_BLOCK_CYCLE, - /* eslint-enable no-underscore-dangle */ nodes: url ? [{ name: 'test-node', instance: new Node(url, { ignoreVersion }) }] : [], ...compilerUrl && { onCompiler: getCompilerByUrl(compilerUrl) }, networkId, diff --git a/test/index.js b/test/index.js index d1a4433..8194885 100644 --- a/test/index.js +++ b/test/index.js @@ -31,10 +31,6 @@ export const WALLET_NAME = 'test-artifacts/wallet.json'; const Sdk = (params = {}) => { params.accounts ??= [new MemoryAccount(secretKey)]; return new AeSdk({ - /* eslint-disable no-underscore-dangle */ - _expectedMineRate: process.env._EXPECTED_MINE_RATE, - _microBlockCycle: process.env._MICRO_BLOCK_CYCLE, - /* eslint-enable no-underscore-dangle */ onCompiler: new CompilerHttpNode(compilerUrl), nodes: [{ name: 'test', instance: new Node(url) }], ...params,