Skip to content

feat(cairo): change mailbox fee token at compile time#21

Closed
aroralanuk wants to merge 1 commit intomainfrom
kunal/dyn-fee-token-const
Closed

feat(cairo): change mailbox fee token at compile time#21
aroralanuk wants to merge 1 commit intomainfrom
kunal/dyn-fee-token-const

Conversation

@aroralanuk
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Member

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

we should commit the address value config to version control on each branch and put it behind the existing build pipeline

Comment on lines 9 to 11
pub fn ETH_ADDRESS() -> ContractAddress {
0x049D36570D4e46f48e99674bd3fcc84644DdD6b96F7C741B1562B82f9e004dC7.try_into().unwrap()
FEE_TOKEN()
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

should we change usage of ETH_ADDRESS to FEE_TOKEN to avoid this (improperly named) indirection?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not totally clear that we need this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

agree doesn't necessarily need to be a Makefile, but I don't feel strongly

I think it'd be nice though to have an experience like make build starknet or make build paradex so you don't need to know the fee token addresses each time you run a command

@@ -0,0 +1,38 @@
#!/bin/bash
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can we name this file with a .sh suffix

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

agree doesn't necessarily need to be a Makefile, but I don't feel strongly

I think it'd be nice though to have an experience like make build starknet or make build paradex so you don't need to know the fee token addresses each time you run a command

@yorhodes yorhodes force-pushed the kunal/dyn-fee-token-const branch from 900509b to 00e88b1 Compare June 17, 2025 19:57
@aroralanuk
Copy link
Copy Markdown
Author

closing in favor of #22

@aroralanuk aroralanuk closed this Jun 18, 2025
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