From 0dee561cc094459c2b0caf6b5647bc45459d2b7e Mon Sep 17 00:00:00 2001 From: rdewilder Date: Sun, 21 Aug 2022 17:36:54 -0400 Subject: [PATCH 1/3] added the list of test accounts to chain.md and usage.md --- docs/api/chain.md | 12 +++++++++++- docs/tutorial/usage.md | 11 +++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/docs/api/chain.md b/docs/api/chain.md index 3a788b0..96788e3 100644 --- a/docs/api/chain.md +++ b/docs/api/chain.md @@ -22,7 +22,17 @@ Local port number the RPC api is bound to ## Methods ### static async setupChain(chainName: string): Promise<Chain> -Setup new testing chain, setup chain docker instance, initialize api client, create 10 test accounts +Setup new testing chain, setup chain docker instance, initialize api client, creates the following 10 test accounts: +- acc11.test +- acc12.test +- acc13.test +- acc14.test +- acc15.test +- acc21.test +- acc22.test +- acc23.test +- acc24.test +- acc25.test Valid chainName values: WAX, EOS and TLOS diff --git a/docs/tutorial/usage.md b/docs/tutorial/usage.md index 8a98b42..b918711 100644 --- a/docs/tutorial/usage.md +++ b/docs/tutorial/usage.md @@ -20,6 +20,17 @@ const account2 = chain.accounts[2]; // create account let newAccount = await chain.system.createAccount("newaccount"); ``` +The following test accounts are created automatically: +- acc11.test +- acc12.test +- acc13.test +- acc14.test +- acc15.test +- acc21.test +- acc22.test +- acc23.test +- acc24.test +- acc25.test ## Contracts From 66eec1e2e288349d996a6c47b789867fb4a7d71e Mon Sep 17 00:00:00 2001 From: Robert DeWilder Date: Sun, 21 Aug 2022 21:36:26 -0400 Subject: [PATCH 2/3] updated description of timeAdded in time.md --- docs/api/time.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/time.md b/docs/api/time.md index d245573..e57d765 100644 --- a/docs/api/time.md +++ b/docs/api/time.md @@ -6,7 +6,7 @@ The Time class allows the manipulation of blocktime. These functions only add t ### chain: Chain Reference to the chain instance ### timeAdded: number -Record of time added to chain +The total number of seconds that have been skipped in the chain ## Constructor **constructor(chain: Chain): Time** @@ -18,4 +18,4 @@ Incrementally increase time of chain. ### async increaseTo(time: number): Promise<number> -Increase time of chain to specific time point. T +Increase time of chain to specific time point T From e8e10daf996e1155224eadc9b280a5503ffcb6b8 Mon Sep 17 00:00:00 2001 From: Robert DeWilder Date: Sun, 21 Aug 2022 21:44:51 -0400 Subject: [PATCH 3/3] bumped to version 0.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bdc87d5..641df86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qtest-js", - "version": "0.2.2", + "version": "0.3.0", "description": "eosio testing library", "main": "dist/index.js", "license": "MIT",