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

Implemented KAS repository to load internal/revert transaction data #587

Merged
merged 10 commits into from Aug 7, 2020

Conversation

jeongkyun-oh
Copy link
Contributor

@jeongkyun-oh jeongkyun-oh commented Aug 5, 2020

Proposed changes

  • Added insert internal/revert transactions method in KAS repository.
  • This is imported from kas-app-server, but transforming data is different.

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

datasync/chaindatafetcher/kas/model.go Outdated Show resolved Hide resolved
datasync/chaindatafetcher/kas/model.go Show resolved Hide resolved
datasync/chaindatafetcher/kas/repository_traces.go Outdated Show resolved Hide resolved
datasync/chaindatafetcher/kas/repository_traces.go Outdated Show resolved Hide resolved
datasync/chaindatafetcher/kas/repository_traces.go Outdated Show resolved Hide resolved
datasync/chaindatafetcher/kas/repository_traces.go Outdated Show resolved Hide resolved
Copy link
Contributor

@KimKyungup KimKyungup left a comment

Choose a reason for hiding this comment

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

LGTM with minor comment

aidan-kwon
aidan-kwon previously approved these changes Aug 6, 2020
Copy link
Member

@aidan-kwon aidan-kwon left a comment

Choose a reason for hiding this comment

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

LGTM except for a minor thing

aidan-kwon
aidan-kwon previously approved these changes Aug 6, 2020
txs = append(txs, &newTx)
}

if len(trace.Calls) > 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

unncessary if?

KimKyungup
KimKyungup previously approved these changes Aug 6, 2020
ehnuje
ehnuje previously approved these changes Aug 6, 2020
@jeongkyun-oh jeongkyun-oh dismissed stale reviews from ehnuje and KimKyungup via c527b23 August 7, 2020 04:22
@jeongkyun-oh jeongkyun-oh force-pushed the PDK-1561-repository-impl-traces branch from 795e4e9 to c527b23 Compare August 7, 2020 04:22
@jeongkyun-oh jeongkyun-oh merged commit 7fd8f43 into klaytn:dev Aug 7, 2020
@jeongkyun-oh jeongkyun-oh deleted the PDK-1561-repository-impl-traces branch August 7, 2020 07:41
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

4 participants