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

fix: remove oracle from init #3

Merged
merged 1 commit into from
Dec 11, 2024
Merged

fix: remove oracle from init #3

merged 1 commit into from
Dec 11, 2024

Conversation

Zitzak
Copy link
Collaborator

@Zitzak Zitzak commented Dec 10, 2024

What has been done?

  • Remove the oracle address setting from the init
  • Add setters for the oracle (internal & external)

Why has this been changes

Initially the Oracle was an external contract. This would enable us to just give the address during the workflow deployment.

However we moved away from having the oracle to be an external contract and instead made it a module. This has the effect that we cannot know the modules address during deployment, as all of the workflow deployment happens in one transaction.

For that reason the oracle address needs to be set after init.

@Zitzak Zitzak requested review from vendrell46 and scab24 December 10, 2024 20:51
@Zitzak Zitzak merged commit ca9a999 into dev-1 Dec 11, 2024
4 of 6 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.

2 participants