Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: FromEnv & FromEnvVar for SignetConstants types #25

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

anna-carroll
Copy link
Contributor

@anna-carroll anna-carroll commented May 20, 2025

impl FromEnvVar for SignetConstants types using their FromStr implementations

@anna-carroll anna-carroll self-assigned this May 20, 2025
src/utils/from_env.rs Show resolved Hide resolved
@anna-carroll anna-carroll force-pushed the anna/constants-from-env branch from 10e86c7 to d73c20a Compare May 21, 2025 12:30
@anna-carroll anna-carroll marked this pull request as ready for review May 21, 2025 12:41
* feat: impl FromEnv for SignetConstants types

* feat: full implementation

* comments

* docs, import

* fix: fmt

* fix: add alloy feature
@anna-carroll anna-carroll changed the title feat: FromEnvVar for SignetConstants types feat: FromEnv & FromEnvVar for SignetConstants types May 21, 2025
@Evalir Evalir requested a review from prestwich May 23, 2025 11:11
Comment on lines +19 to +25
const ROLLUP_CHAIN_ID: &str = "ROLLUP_CHAIN_ID";
const ROLLUP_BASE_FEE_RECIPIENT: &str = "ROLLUP_BASE_FEE_RECIPIENT";
const ROLLUP_ORDERS: &str = "ROLLUP_ORDERS";
const ROLLUP_PASSAGE: &str = "ROLLUP_PASSAGE";
const ROLLUP_USDC: &str = "ROLLUP_USDC";
const ROLLUP_USDT: &str = "ROLLUP_USDT";
const ROLLUP_WBTC: &str = "ROLLUP_WBTC";
Copy link
Member

Choose a reason for hiding this comment

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

not a nit for this pr necessarily, but i find we use RU and ROLLUP interchangeably on bin-base and the SDK, maybe we should consolidate

@anna-carroll anna-carroll merged commit 93615ab into main May 23, 2025
6 checks passed
@anna-carroll anna-carroll deleted the anna/constants-from-env branch May 23, 2025 13:02
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.