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

Only allow Oracle to post data + Nit cleanup #71

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Conversation

ckartik
Copy link
Contributor

@ckartik ckartik commented Jan 1, 2024

  • Restricts call to process commitment to only by via oracle.
  • Sets subsequent internal call from oracle to private function to disallow external calls.
  • Makes cleanup of commented out code and updates test for owner only calls.
  • Checks to ensure block number also matches commitment internals

@ckartik ckartik requested a review from kant777 January 1, 2024 19:39
Copy link
Contributor

@kant777 kant777 left a comment

Choose a reason for hiding this comment

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

I am assuming this will change the abi and contract address if so please fix them in other repos and test to make sure it works.

test/OracleTest.sol Show resolved Hide resolved
@ckartik ckartik merged commit 8555edb into main Jan 2, 2024
3 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