-
Notifications
You must be signed in to change notification settings - Fork 86
[Refactor] Create shared directory for all network environments #864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Ansonhkg
wants to merge
19
commits into
naga
Choose a base branch
from
feature/jss-37-optimisation-unify-shared-logic-with-an-option-to-override
base: naga
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,225
−46,370
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
7345544
chore(package.json): update build scripts and update generate-abi-sig…
Ansonhkg 3c8b298
chore(package.json): increase the default timeout for E2E tests in th…
Ansonhkg ef99fa4
chore(examples): remove outdated EOA native auth flow and release ver…
Ansonhkg 986708e
refactor(e2e): update rpc url env vars override
Ansonhkg 0473f61
refactor(networks): add a shared folder for all network envs
Ansonhkg 401b494
refactor(nx): remove auto-fix-deps target and simplify build dependen…
Ansonhkg 2bed90a
chore(wasm): add Cargo.lock file for Rust dependencies management
Ansonhkg a759c18
fix(networks): correct typo in lint executor key in project.json
Ansonhkg ad20de8
Merge branch 'naga' into feature/jss-37-optimisation-unify-shared-log…
Ansonhkg 43622c8
chore(e2e): remove excessive timeout from health check commands in wo…
Ansonhkg 1f19b5b
refactor(networks): remove backward compatibility exports from Naga e…
Ansonhkg 75f455d
chore(yarn): remove .yarnrc.yml configuration file
Ansonhkg 24f12d6
chore(env): update .env.sample by removing deprecated variables and a…
Ansonhkg a48fbfb
chore(changeset): add initial version for networks unification with p…
Ansonhkg a59f48f
chore(changeset): release 8.0.0-beta.1 for all Lit Protocol packages …
Ansonhkg b808a12
fmt
Ansonhkg 7b1b542
Merge branch 'naga' into feature/jss-37-optimisation-unify-shared-log…
Ansonhkg 0131659
Merge branch 'feature/jss-37-optimisation-unify-shared-logic-with-an-…
Ansonhkg ec03f2a
refactor(networks): unify Naga environment module names and remove ba…
Ansonhkg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,19 @@ | ||
--- | ||
'@lit-protocol/access-control-conditions': patch | ||
'@lit-protocol/access-control-conditions-schemas': patch | ||
'@lit-protocol/auth': patch | ||
'@lit-protocol/auth-helpers': patch | ||
'@lit-protocol/auth-services': patch | ||
'@lit-protocol/constants': patch | ||
'@lit-protocol/crypto': patch | ||
'@lit-protocol/lit-client': patch | ||
'@lit-protocol/logger': patch | ||
'@lit-protocol/networks': patch | ||
'@lit-protocol/schemas': patch | ||
'@lit-protocol/types': patch | ||
'@lit-protocol/wasm': patch | ||
'@lit-protocol/wrapped-keys': patch | ||
'@lit-protocol/wrapped-keys-lit-actions': patch | ||
--- | ||
|
||
Initial version after networks unification |
This file contains hidden or 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,19 @@ | ||
--- | ||
'@lit-protocol/access-control-conditions': patch | ||
'@lit-protocol/access-control-conditions-schemas': patch | ||
'@lit-protocol/auth': patch | ||
'@lit-protocol/auth-helpers': patch | ||
'@lit-protocol/auth-services': patch | ||
'@lit-protocol/constants': patch | ||
'@lit-protocol/crypto': patch | ||
'@lit-protocol/lit-client': patch | ||
'@lit-protocol/logger': patch | ||
'@lit-protocol/networks': patch | ||
'@lit-protocol/schemas': patch | ||
'@lit-protocol/types': patch | ||
'@lit-protocol/wasm': patch | ||
'@lit-protocol/wrapped-keys': patch | ||
'@lit-protocol/wrapped-keys-lit-actions': patch | ||
--- | ||
|
||
Initial release for networks unification |
This file contains hidden or 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 hidden or 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,21 +1,8 @@ | ||
#Tinny ENV Vars | ||
MAX_ATTEMPTS=1 | ||
NETWORK=datil-dev | ||
DEBUG=true | ||
WAIT_FOR_KEY_INTERVAL=3000 | ||
LIT_OFFICAL_RPC=https://chain-rpc.litprotocol.com/http | ||
TIME_TO_RELEASE_KEY=10000 | ||
RUN_IN_BAND=true | ||
RUN_IN_BAND_INTERVAL=5000 | ||
PRIVATE_KEYS="0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d,0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a,0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6,0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a,0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba,0x92db14e403b83dfe3df233f83dfa3a0d7096f21ca9b0d6d6b8d88b2b4ec1564e,0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356,0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97,0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6" | ||
NO_SETUP=false | ||
USE_SHIVA=false | ||
NETWORK_CONFIG=./networkContext.json | ||
TEST_TIMEOUT=45000 | ||
# LIT_YELLOWSTONE_PRIVATE_RPC_URL=<OVERWRITE ME> | ||
# LOCAL_RPC_URL=<OVERWRITE ME> | ||
|
||
#Shiva Client ENV Vars | ||
STOP_TESTNET=false | ||
TESTNET_MANAGER_URL=http://0.0.0.0:8000 | ||
USE_LIT_BINARIES=true | ||
LIT_NODE_BINARY_PATH=/path/to/lit_node/binary | ||
LIT_ACTION_BINARY_PATH=/path/to/lit_action_binary | ||
LOG_LEVEL=silent | ||
LIVE_MASTER_ACCOUNT= | ||
LOCAL_MASTER_ACCOUNT=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
|
||
NODE_NO_WARNINGS=1 |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,24 +1,24 @@ | ||
config: | ||
target: "dummy" | ||
target: 'dummy' | ||
phases: | ||
# Over 60s, ramp up to creating 50 vusers per second | ||
- duration: 60 | ||
arrivalRate: 5 | ||
rampTo: 150 | ||
name: "Ramp Up" | ||
name: 'Ramp Up' | ||
# Over 300s, create 50 vusers per second | ||
- duration: 300 | ||
arrivalRate: 150 | ||
name: "Sustained Encrypt & Decrypt" | ||
name: 'Sustained Encrypt & Decrypt' | ||
# Over 60s, ramp down to creating 5 vusers per second | ||
- duration: 60 | ||
arrivalRate: 20 | ||
name: "Ramp Down" | ||
processor: "../src/processors/multi-endpoints.ts" | ||
name: 'Ramp Down' | ||
processor: '../src/processors/multi-endpoints.ts' | ||
|
||
scenarios: | ||
- name: "Encrypt & Decrypt Stress Test" | ||
- name: 'Encrypt & Decrypt Stress Test' | ||
weight: 100 | ||
flow: | ||
- function: "runEncryptDecryptTest" | ||
- think: 0.1 | ||
- function: 'runEncryptDecryptTest' | ||
- think: 0.1 |
This file contains hidden or 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,24 +1,24 @@ | ||
config: | ||
target: "dummy" | ||
target: 'dummy' | ||
phases: | ||
# Over 60s, ramp up to creating 50 vusers per second | ||
- duration: 60 | ||
arrivalRate: 5 | ||
rampTo: 100 | ||
name: "Ramp Up" | ||
name: 'Ramp Up' | ||
# Over 300s, create 50 vusers per second | ||
- duration: 300 | ||
arrivalRate: 100 | ||
name: "Sustained Encrypt & Decrypt" | ||
name: 'Sustained Encrypt & Decrypt' | ||
# Over 60s, ramp down to creating 5 vusers per second | ||
- duration: 60 | ||
arrivalRate: 20 | ||
name: "Ramp Down" | ||
processor: "../src/processors/multi-endpoints.ts" | ||
name: 'Ramp Down' | ||
processor: '../src/processors/multi-endpoints.ts' | ||
|
||
scenarios: | ||
- name: "Execute JS Stress Test" | ||
- name: 'Execute JS Stress Test' | ||
weight: 100 | ||
flow: | ||
- function: "runExecuteJSTest" | ||
- think: 0.1 | ||
- function: 'runExecuteJSTest' | ||
- think: 0.1 |
This file contains hidden or 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,34 +1,34 @@ | ||
config: | ||
target: "dummy" | ||
target: 'dummy' | ||
phases: | ||
# Over 60s, ramp up to creating 50 vusers per second | ||
- duration: 60 | ||
arrivalRate: 5 | ||
rampTo: 75 | ||
name: "Ramp Up" | ||
name: 'Ramp Up' | ||
# Over 300s, create 50 vusers per second | ||
- duration: 300 | ||
arrivalRate: 75 | ||
name: "Sustained Encrypt & Decrypt" | ||
name: 'Sustained Encrypt & Decrypt' | ||
# Over 60s, ramp down to creating 5 vusers per second | ||
- duration: 60 | ||
arrivalRate: 20 | ||
name: "Ramp Down" | ||
processor: "../src/processors/multi-endpoints.ts" | ||
name: 'Ramp Down' | ||
processor: '../src/processors/multi-endpoints.ts' | ||
|
||
scenarios: | ||
- name: "PKP Sign Stress Test" | ||
- name: 'PKP Sign Stress Test' | ||
weight: 50 | ||
flow: | ||
- function: "runPkpSignTest" | ||
- function: 'runPkpSignTest' | ||
- think: 0.1 | ||
- name: "Encrypt & Decrypt Stress Test" | ||
- name: 'Encrypt & Decrypt Stress Test' | ||
weight: 25 | ||
flow: | ||
- function: "runEncryptDecryptTest" | ||
- function: 'runEncryptDecryptTest' | ||
- think: 0.1 | ||
- name: "Execute JS Stress Test" | ||
- name: 'Execute JS Stress Test' | ||
weight: 25 | ||
flow: | ||
- function: "runExecuteJSTest" | ||
- think: 0.1 | ||
- function: 'runExecuteJSTest' | ||
- think: 0.1 |
This file contains hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how come we don't need any of this stuff anymore? because we just use a single LOCAL_MASTER_ACCOUNT?