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

Add return statement to HederaTokenService.redirectForToken() #299

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

natanasow
Copy link
Contributor

@natanasow natanasow commented Aug 7, 2023

Description:

Currently, there is no return statement in HederaTokenService.redirectForToken(), so we can not call that contract from an external contract and get the result.

Related issue(s):

Fixes #298

Notes for reviewer:

Checklist

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

Signed-off-by: nikolay <n.atanasow94@gmail.com>
@natanasow natanasow self-assigned this Aug 7, 2023
@natanasow natanasow added enhancement New feature or request Limechain Items for Limechain team labels Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Test Results

197 tests  ±0   191 ✔️ ±0   6m 40s ⏱️ -10s
  62 suites ±0       6 💤 ±0 
  13 files   ±0       0 ±0 

Results for commit 0f4de6b. ± Comparison against base commit 7b8772f.

♻️ This comment has been updated with latest results.

Signed-off-by: nikolay <n.atanasow94@gmail.com>
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

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

Nice catch.
1 question

@Nana-EC Nana-EC added this to the 0.5.0 milestone Aug 7, 2023
@natanasow natanasow requested a review from Nana-EC August 7, 2023 15:31
Nana-EC
Nana-EC previously approved these changes Aug 7, 2023
Copy link
Collaborator

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

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

LG.
Unblocking but also noted nit comments

Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: nikolay <n.atanasow94@gmail.com>
@natanasow natanasow requested a review from Nana-EC August 7, 2023 15:47
@natanasow natanasow merged commit ccb436f into main Aug 7, 2023
16 checks passed
@natanasow natanasow deleted the 298-add-return-statement-to-redirectfortoken branch August 7, 2023 15:55
mshakeg pushed a commit to mshakeg/hedera-smart-contracts that referenced this pull request Oct 14, 2023
…graph#299)

* Add return statement

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* Return responseCode instead of success flag

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* Add comments

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* Update artifacts

Signed-off-by: nikolay <n.atanasow94@gmail.com>

---------

Signed-off-by: nikolay <n.atanasow94@gmail.com>
Signed-off-by: Mo Shaikjee <shaikjeemohammed@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Limechain Items for Limechain team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add return statement to HederaTokenService.redirectForToken()
2 participants