Skip to content

Commit

Permalink
fix: update sdk to 13.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Apr 22, 2024
1 parent 8df932a commit 2b63f5f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .mocharc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
process.env._EXPECTED_MINE_RATE = 1000
process.env._MICRO_BLOCK_CYCLE = 300

module.exports = {
recursive: true,
timeout: '4s',
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 0 additions & 4 deletions src/utils/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 0 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2b63f5f

Please sign in to comment.