-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NayNay] New SDK RC integration (#262)
* wip: integrating new sdk with new core changes * wip: updating tests with four-nodes * [NayNay] Updating CLI with new sdk rc - updated CLI with new sdk rc, and made changes to reflect the changes from core/sdk - updated network type defualt to four-nodes - added jump-start network to the initialization of entropy for both cli and tui - updated all tests to reflect changes * updated hosts file for CI * updated faucet test to refine setup faucet mwethod * updated rc * trying something here... * removing logs * fixed tests due to faulty config, added new dev choice to manually jump start network * added loader to jumpstart * created new option for endpoint in tui * Mixmix/new sdk rc (#263) * exract "fundAccount" from tests * extraaact * tidy * Update tests/faucet.test.ts Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com> * Update tests/faucet.test.ts Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com> * fixed test --------- Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com> * updated default testnet endpoint * updated for release * Update src/common/utils-cli.ts * revert setupTest to have unique temp configPaths --------- Co-authored-by: mixmix <mix@protozoa.nz>
- Loading branch information
Showing
25 changed files
with
626 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const version = 3 | ||
|
||
export function migrate (data = {}) { | ||
try { | ||
const migratedData = { | ||
...data, | ||
endpoints: { | ||
// @ts-ignore | ||
...data.endpoints, | ||
'stg': 'wss://api.staging.testnet.testnet-2024.infrastructure.entropy.xyz' | ||
} | ||
} | ||
return migratedData | ||
} catch (e) { | ||
console.error(`error in migration ${version}: e.message`) | ||
} | ||
return data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import * as migration00 from './00' | ||
import * as migration01 from './01' | ||
import * as migration02 from './02' | ||
import * as migration03 from './03' | ||
|
||
const migrations = [ | ||
migration00, | ||
migration01, | ||
migration02, | ||
migration03 | ||
] | ||
|
||
export default migrations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.