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

examples: update owner address #1854

Merged
merged 2 commits into from
Mar 23, 2021
Merged

examples: update owner address #1854

merged 2 commits into from
Mar 23, 2021

Conversation

AnnaShaleva
Copy link
Member

Update to the new valid one after the signature scheme changes.

@codecov
Copy link

codecov bot commented Mar 22, 2021

Codecov Report

Merging #1854 (0948d53) into master (28da00f) will increase coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1854      +/-   ##
==========================================
+ Coverage   83.31%   83.59%   +0.27%     
==========================================
  Files         283      283              
  Lines       22475    23104     +629     
==========================================
+ Hits        18726    19314     +588     
+ Misses       2595     2593       -2     
- Partials     1154     1197      +43     
Impacted Files Coverage Δ
pkg/services/notary/notary.go 92.38% <0.00%> (+1.01%) ⬆️
pkg/core/native/oracle.go 78.68% <0.00%> (+1.93%) ⬆️
pkg/core/native/notary.go 88.78% <0.00%> (+2.26%) ⬆️
pkg/core/blockchain.go 83.43% <0.00%> (+3.65%) ⬆️
pkg/services/oracle/request.go 55.64% <0.00%> (+4.83%) ⬆️
pkg/rpc/client/native.go 56.36% <0.00%> (+6.36%) ⬆️
pkg/core/native/designate.go 83.85% <0.00%> (+7.27%) ⬆️
pkg/services/oracle/oracle.go 90.58% <0.00%> (+11.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 28da00f...0948d53. Read the comment docs.

@roman-khimov roman-khimov added this to the v0.94.1 milestone Mar 22, 2021
@roman-khimov
Copy link
Member

roman-khimov commented Mar 22, 2021

I think we either need to put this wallet into the repo or at least give some hint on where it can be found.

@AnnaShaleva
Copy link
Member Author

I think we either need to put this wallet into the repo or at least give some hint on where it can be found.

I think the first option is better, fixed.

@@ -475,6 +475,9 @@ func TestCompileExamples(t *testing.T) {
e := newExecutor(t, false)

for _, info := range infos {
if !info.IsDir() {
Copy link
Member

Choose a reason for hiding this comment

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

Quite radical. Though fine if explained.

@@ -0,0 +1 @@
{"version":"3.0","accounts":[{"address":"NX1yL5wDx3inK2qUVLRVaqCLUxYnAbv85S","key":"6PYUz1rNSwDf9ad1vxYbJyK93GrnnPBhr819HgSefMvgU1H9QxqVVCZQtN","label":"my_account","contract":{"script":"DCEDhEhWuuSSNuCc7nLsxQhI8nFlt+UfY3oP0/UkYmdH7G5BdHR2qg==","parameters":[{"name":"parameter0","type":"Signature"}],"deployed":false},"lock":false,"isdefault":false}],"scrypt":{"n":16384,"r":8,"p":8},"extra":{"Tokens":null}}
Copy link
Member

Choose a reason for hiding this comment

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

If we're putting this into examples, it should be explained somehow (and the test as well). Previously it was kinda obvious (although not quite for everyone) that we only have subdirectories in examples and each of them is an example of its own. Now this file is added to examples along with some .go file, so as a user I'm not sure where to start with all of this. Let's create a README here (in examples) with very brief introduction to examples and other things we have (and link this README from top-level one).

Copy link
Member Author

Choose a reason for hiding this comment

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

I wrote a README and moved the test to the pkg/wallet because this dev-related code inside the examples folder may floor the user.

README.md Outdated Show resolved Hide resolved
examples/README.md Outdated Show resolved Hide resolved
examples/README.md Outdated Show resolved Hide resolved
examples/README.md Outdated Show resolved Hide resolved
examples/README.md Outdated Show resolved Hide resolved
examples/README.md Outdated Show resolved Hide resolved
And provide the wallet for examples `my_wallet.json` with the owner
address inside.
@roman-khimov roman-khimov merged commit 126b83a into master Mar 23, 2021
@roman-khimov roman-khimov deleted the examples/fix-owner branch March 23, 2021 14: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.

2 participants