forked from paritytech/polkadot-sdk
-
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.
Add missing config for ts-tests (paritytech#730)
* Add BLOCK_TIMESTAMP config for ts-tests Signed-off-by: koushiro <[email protected]> * Add NODE_BINARY_NAME Signed-off-by: koushiro <[email protected]> * Improve test-balances Signed-off-by: koushiro <[email protected]> * Some nits Signed-off-by: koushiro <[email protected]> * Add RUNTIME_SPEC_NAME, RUNTIME_SPEC_VERSION, RUNTIME_IMPL_VERSION Signed-off-by: koushiro <[email protected]> * Some nits Signed-off-by: koushiro <[email protected]> * Use CHAIN_ID Signed-off-by: koushiro <[email protected]> * Some nits Signed-off-by: koushiro <[email protected]> * Improve test-revert-receipt Signed-off-by: koushiro <[email protected]> * Use camelCase Signed-off-by: koushiro <[email protected]> * Use tabs Signed-off-by: koushiro <[email protected]>
- Loading branch information
Showing
19 changed files
with
181 additions
and
188 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
useTabs: true, | ||
tabWidth: 4 | ||
} |
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,8 +1,17 @@ | ||
export const GENESIS_ACCOUNT = "0x6be02d1d3665660d22ff9624b7be0551ee1ac91b"; | ||
export const GENESIS_ACCOUNT_PRIVATE_KEY = "0x99B3C12287537E38C90A9219D4CB074A89A16E9CDB20BF85728EBD97C343E342"; | ||
export const GENESIS_ACCOUNT_BALANCE = "340282366920938463463374607431768210955"; | ||
|
||
export const FIRST_CONTRACT_ADDRESS = "0xc2bf5f29a4384b1ab0c063e1c666f02121b6084a"; | ||
|
||
export const NODE_BINARY_NAME = "frontier-template-node"; | ||
|
||
export const RUNTIME_SPEC_NAME = "node-frontier-template"; | ||
export const RUNTIME_SPEC_VERSION = 1; | ||
export const RUNTIME_IMPL_VERSION = 1; | ||
|
||
export const CHAIN_ID = 42; | ||
export const BLOCK_TIMESTAMP = 6; // 6 seconds per block | ||
export const BLOCK_HASH_COUNT = 256; | ||
export const EXISTENTIAL_DEPOSIT = 500; // The minimum amount required to keep an account open | ||
export const BLOCK_GAS_LIMIT = 75000000; |
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
Oops, something went wrong.