near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 21 forks source link

fix: Update length of test accountIds to meet new testnet requirement #95

Closed willemneal closed 2 years ago

willemneal commented 2 years ago

The newest roll out of testnet seems to reserve the right to create account Ids that are less than 33 characters long. Perviously we had generated ones that were 14 as to save characters for sub-accounts. However, with this requirement we must update to 33, leave 31 characters for sub-accounts.

Also this PR fixes env var for selecting the network.