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 additional helper funcs to flowkit and services #13

Merged
merged 5 commits into from
Feb 16, 2024

Conversation

ianthpun
Copy link
Contributor

@ianthpun ianthpun commented Feb 16, 2024

  • added ReplaceImportsInScript(context.Context, Script) (Script, error) which will return a script that has the imports replaced with known contract addresses within the network

  • add AccountByContractName and ContractAddress helper functions in state

@ianthpun ianthpun marked this pull request as ready for review February 16, 2024 17:15
@ianthpun ianthpun requested a review from bthaile February 16, 2024 17:29
@@ -79,46 +77,39 @@ type MockServices struct {
}

func DefaultMockServices() *MockServices {
ctx := context.Background()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was a bug as we didn't actually add the ctx into services @bjartek

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

state.go Outdated Show resolved Hide resolved
@ianthpun ianthpun merged commit d6b4b66 into main Feb 16, 2024
2 checks passed
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.

3 participants