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

[entropy] Rename files #1127

Merged
merged 3 commits into from
Oct 31, 2023
Merged

[entropy] Rename files #1127

merged 3 commits into from
Oct 31, 2023

Conversation

jayantk
Copy link
Contributor

@jayantk jayantk commented Oct 31, 2023

Rename the files to Entropy instead of PythRandom

Copy link

vercel bot commented Oct 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) Visit Preview Oct 31, 2023 2:43pm
xc-admin-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 31, 2023 2:43pm

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: Apache 2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

very minor change here: we were exposing the state object in the public SDK. I moved that definition into the contract directory instead.

import "@pythnetwork/entropy-sdk-solidity/PythRandomState.sol";
import "@pythnetwork/entropy-sdk-solidity/PythRandomErrors.sol";
import "@pythnetwork/entropy-sdk-solidity/PythRandomEvents.sol";
import "@pythnetwork/entropy-sdk-solidity/EntropyStructs.sol";
Copy link
Contributor

Choose a reason for hiding this comment

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

Ah this is a much better name in retrospect.

@jayantk jayantk merged commit fe7984d into main Oct 31, 2023
4 checks passed
@jayantk jayantk deleted the random13 branch October 31, 2023 15:50
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