Skip to content
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

feat(forknet): allow running traffic generator with a key map secret #11375

Merged
merged 1 commit into from
May 22, 2024

Conversation

marcelo-gonzalez
Copy link
Contributor

we've been using the mirror tool without a secret used to map keys, which is fine when we're running internal tests. but if we want to start a forknet instance that will later be opened up to the public, we'll want to use a mix the mapped keys with a secret. so here we will assume that it will be placed in ~/.near/setup/mirror-secret.json (or ~/.near/target/setup/mirror-secret.json for V2 setups) and we'll use it if so

we've been using the mirror tool without a secret used to map keys, which
is fine when we're running internal tests. but if we want to start a forknet
instance that will later be opened up to the public, we'll want to use a
mix the mapped keys with a secret. so here we will assume that it will
be placed in ~/.near/setup/mirror-secret.json (or ~/.near/target/setup/mirror-secret.json for V2 setups)
and we'll use it if so
@marcelo-gonzalez marcelo-gonzalez requested a review from a team as a code owner May 22, 2024 03:53
Copy link

codecov bot commented May 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.20%. Comparing base (7d08c8b) to head (8468f44).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11375   +/-   ##
=======================================
  Coverage   71.20%   71.20%           
=======================================
  Files         784      784           
  Lines      157224   157224           
  Branches   157224   157224           
=======================================
+ Hits       111952   111959    +7     
+ Misses      40423    40420    -3     
+ Partials     4849     4845    -4     
Flag Coverage Δ
backward-compatibility 0.24% <ø> (ø)
db-migration 0.24% <ø> (ø)
genesis-check 1.38% <ø> (ø)
integration-tests 37.17% <ø> (-0.02%) ⬇️
linux 68.71% <ø> (-0.02%) ⬇️
linux-nightly 70.64% <ø> (+0.03%) ⬆️
macos 52.24% <ø> (+<0.01%) ⬆️
pytests 1.60% <ø> (ø)
sanity-checks 1.40% <ø> (ø)
unittests 65.59% <ø> (ø)
upgradability 0.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcelo-gonzalez marcelo-gonzalez added this pull request to the merge queue May 22, 2024
Merged via the queue into near:master with commit 8fd58cb May 22, 2024
28 of 29 checks passed
@marcelo-gonzalez marcelo-gonzalez deleted the forknet-secret branch May 22, 2024 16:29
marcelo-gonzalez added a commit to marcelo-gonzalez/nearcore that referenced this pull request May 23, 2024
…ear#11375)

we've been using the mirror tool without a secret used to map keys,
which is fine when we're running internal tests. but if we want to start
a forknet instance that will later be opened up to the public, we'll
want to use a mix the mapped keys with a secret. so here we will assume
that it will be placed in ~/.near/setup/mirror-secret.json (or
~/.near/target/setup/mirror-secret.json for V2 setups) and we'll use it
if so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants