-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: blockifier regression test add get fee token addresses
- Loading branch information
1 parent
6ca2811
commit 4e49777
Showing
5 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
pub mod test_state_reader; | ||
pub mod test_utils; | ||
|
||
|
||
#[cfg(test)] | ||
mod tests { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use blockifier::context::FeeTokenAddresses; | ||
use starknet_api::contract_address; | ||
use starknet_api::core::ContractAddress; | ||
use starknet_api::patricia_key; | ||
use starknet_api::core::PatriciaKey; | ||
use starknet_api::felt; | ||
use papyrus_execution::{ETH_FEE_CONTRACT_ADDRESS,STRK_FEE_CONTRACT_ADDRESS}; | ||
|
||
pub fn get_fee_token_addresses() -> FeeTokenAddresses { | ||
FeeTokenAddresses { | ||
strk_fee_token_address: contract_address!(STRK_FEE_CONTRACT_ADDRESS), | ||
eth_fee_token_address: contract_address!(ETH_FEE_CONTRACT_ADDRESS), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters