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

Using Data Transfer Objects in Update Provider SmartContract Calls #2577

Merged
merged 3 commits into from Jul 4, 2023

Conversation

sunilmhta
Copy link
Contributor

@sunilmhta sunilmhta commented Jul 2, 2023

Fixes

#2544

Changes

Need to be mentioned in CHANGELOG.md?

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

@sunilmhta sunilmhta changed the base branch from staging to sprint-june-5 July 2, 2023 11:54
@codecov-commenter
Copy link

codecov-commenter commented Jul 2, 2023

Codecov Report

Merging #2577 (8281b18) into sprint-july-1 (6e62af0) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@                Coverage Diff                @@
##           sprint-july-1    #2577      +/-   ##
=================================================
- Coverage          28.80%   28.80%   -0.01%     
=================================================
  Files                380      380              
  Lines              64073    64103      +30     
=================================================
+ Hits               18459    18467       +8     
- Misses             43433    43451      +18     
- Partials            2181     2185       +4     
Flag Coverage Δ
Unit-Tests 28.80% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
code/go/0chain.net/smartcontract/minersc/miner.go 18.86% <0.00%> (-2.01%) ⬇️
...ode/go/0chain.net/smartcontract/minersc/sharder.go 20.73% <0.00%> (-0.30%) ⬇️
...de/go/0chain.net/smartcontract/storagesc/config.go 7.07% <0.00%> (ø)

... and 4 files with indirect coverage changes

@sunilmhta sunilmhta force-pushed the users/sunilmhta/fix/2544/0chain/usingmap branch from fe66b89 to 2cd3dbb Compare July 2, 2023 18:23
@sunilmhta sunilmhta changed the title Users/sunilmhta/fix/2544/0chain/usingmap Using Data Transfer Objects in Update Provider SmartContract Calls Jul 2, 2023
@sunilmhta sunilmhta marked this pull request as ready for review July 2, 2023 18:42
@sunilmhta sunilmhta changed the base branch from sprint-june-5 to sprint-july-1 July 3, 2023 09:13
Copy link
Member

@dabasov dabasov left a comment

Choose a reason for hiding this comment

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

lgtm

@service-0chain
Copy link
Collaborator

Manual system tests [failure] with the following config

config value
tests skipped false
system-tests master
gosdk staging
zboxcli staging
zwalletcli staging
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@service-0chain
Copy link
Collaborator

Manual system tests [failure] with the following config

config value
tests skipped false
system-tests master
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli sprint-july-1
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber sprint-july-1
authorizer sprint-july-1
0box sprint-july-1
0dns staging

@service-0chain
Copy link
Collaborator

Manual system tests [failure] with the following config

config value
tests skipped false
system-tests master
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli sprint-july-1
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@service-0chain
Copy link
Collaborator

Manual system tests [failure] with the following config

config value
tests skipped false
system-tests sprint-july-1
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli sprint-july-1
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@sunilmhta sunilmhta linked an issue Jul 4, 2023 that may be closed by this pull request
@service-0chain
Copy link
Collaborator

Manual system tests [cancelled] with the following config

config value
tests skipped false
system-tests master
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli staging
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@service-0chain
Copy link
Collaborator

Manual system tests [cancelled] with the following config

config value
tests skipped false
system-tests sprint-july-1
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli staging
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@service-0chain
Copy link
Collaborator

Manual system tests [success] with the following config

config value
tests skipped false
system-tests sprint-july-1
gosdk users/sunilmhta/fix/2544/gosdk-sharder-miner
zboxcli sprint-july-1
zwalletcli users/sunilmhta/fix/2544/zwallet-sharder-miner
0chain users/sunilmhta/fix/2544/0chain/usingmap
blobber staging
authorizer staging
0box staging
0dns staging

@sunilmhta sunilmhta merged commit e36f104 into sprint-july-1 Jul 4, 2023
8 checks passed
@sunilmhta sunilmhta deleted the users/sunilmhta/fix/2544/0chain/usingmap branch July 4, 2023 17:38
@service-0chain
Copy link
Collaborator

Manual system tests [failure] with the following config

config value
tests skipped false
system-tests sprint-july-1
gosdk sprint-july-1
zboxcli fix/fileMetaHash
zwalletcli sprint-july-1
0chain sprint-july-1
blobber sprint-july-1
authorizer staging
0box staging
0dns staging

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.

Update provider, use map as input rather than object
4 participants