Skip to content

Commit

Permalink
fix(chain)!: use mainnet instead testnet by default
Browse files Browse the repository at this point in the history
BREAKING CHANGE: aecli connects to mainnet by default
Use
```
$ aecli select-node https://testnet.aeternity.io
```
to switch back to testnet.
  • Loading branch information
davidyuk committed Apr 7, 2024
1 parent 39df23c commit 5a81814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// That script contains default configuration for `CLI`

// ## CONNECTION
export const NODE_URL = 'https://testnet.aeternity.io';
export const NODE_URL = 'https://mainnet.aeternity.io';
export const COMPILER_URL = 'https://v7.compiler.aepps.com';
2 changes: 1 addition & 1 deletion test/other.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import mainProgram from '../src/commands/main.js';
describe('Other tests', () => {
it('Config', async () => {
expect(await executeProgram(mainProgram, ['config'])).to.equal(
'Node https://testnet.aeternity.io network id ae_uat, version 6.13.0\n'
'Node https://mainnet.aeternity.io network id ae_mainnet, version 6.13.0\n'
+ 'Compiler https://v7.compiler.aepps.com version 7.4.0',
);
}).timeout(4000);
Expand Down

0 comments on commit 5a81814

Please sign in to comment.