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: Implement getTokenInfo (foundry solution) #128

Merged
merged 15 commits into from
Nov 22, 2024

Conversation

victor-yanev
Copy link
Contributor

Description:

Related issue(s):

Fixes #108

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
@victor-yanev victor-yanev self-assigned this Nov 14, 2024
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>

# Conflicts:
#	src/MirrorNode.sol
#	src/MirrorNodeFFI.sol
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
@victor-yanev victor-yanev marked this pull request as ready for review November 18, 2024 14:48
@victor-yanev victor-yanev requested review from a team as code owners November 18, 2024 14:48
jeromy-cannon
jeromy-cannon previously approved these changes Nov 18, 2024
Copy link

@jeromy-cannon jeromy-cannon left a comment

Choose a reason for hiding this comment

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

only approving .gitignore

Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

Looking good, left a couple of comments

src/MirrorNode.sol Show resolved Hide resolved
src/MirrorNode.sol Outdated Show resolved Hide resolved
src/IMirrorNode.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
src/StrStore.sol Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

Nice work! left some comments

src/MirrorNode.sol Outdated Show resolved Hide resolved
src/MirrorNode.sol Outdated Show resolved Hide resolved
src/MirrorNode.sol Show resolved Hide resolved
test/HTS.t.sol Outdated Show resolved Hide resolved
test/HTS.t.sol Show resolved Hide resolved
test/HTS.t.sol Show resolved Hide resolved
src/StrStore.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
src/HtsSystemContractJson.sol Outdated Show resolved Hide resolved
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>

# Conflicts:
#	test/lib/TestSetup.sol
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
@acuarica
Copy link
Contributor

We could remove the --sizes flag in test.yml to avoid failing in CI.

src/HtsSystemContract.sol Outdated Show resolved Hide resolved
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
@victor-yanev victor-yanev requested a review from a team as a code owner November 22, 2024 08:35
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
Signed-off-by: Victor Yanev <victor.yanev@limechain.tech>
@victor-yanev victor-yanev merged commit fa66ff6 into main Nov 22, 2024
12 checks passed
@victor-yanev victor-yanev deleted the 108-Implement-getTokenInfo-v2 branch November 22, 2024 15:09
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.

[Core] Implement getTokenInfo on HTS to retrieve the treasury account and token info
3 participants