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

client-sdk/go: Add "cory" test key used by oasis-net-runner #1081

Merged
merged 1 commit into from Aug 24, 2022

Conversation

matevz
Copy link
Member

@matevz matevz commented Aug 23, 2022

This PR makes oasis CLI more tailored to local (dApp) development and debugging:

  • adds cory test account which is the default entity created by oasis-net-runner when using --fixture.default.fund_entities flag

@codecov
Copy link

codecov bot commented Aug 23, 2022

Codecov Report

Merging #1081 (2f533a8) into main (bd5025a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1081   +/-   ##
=======================================
  Coverage   68.36%   68.36%           
=======================================
  Files         128      128           
  Lines       11249    11249           
=======================================
  Hits         7690     7690           
  Misses       3527     3527           
  Partials       32       32           
Impacted Files Coverage Δ
client-sdk/go/testing/testing.go 95.23% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -83,6 +83,8 @@ var (
Bob = newEd25519TestKey("oasis-runtime-sdk/test-keys: bob")
// Charlie is the test key C.
Charlie = newEd25519TestKey("oasis-runtime-sdk/test-keys: charlie")
// Cory is the default test key used by oasis-net-runner.
Cory = newEd25519TestKey("ekiden test entity key seed")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the name Cory from? It looks like we've mostly been using one name per first initial

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is the entity key from Oasis Core, hence Cory :-)

The other idea was Debbie, the debug entity :P

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o lol

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI Cory is deliberately separated from Alice, Bob, Charlie convention, because it's managed by the core tests/tooling (test-runner, net-runner). But it's still useful to have it around in Oasis CLI.

@matevz matevz enabled auto-merge August 24, 2022 13:21
@matevz matevz merged commit 795dd77 into main Aug 24, 2022
@matevz matevz deleted the matevz/feature/test-cory branch August 24, 2022 13:43
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

3 participants