mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
14 lines
368 B
Rust
14 lines
368 B
Rust
|
|
use alloy_sol_types::SolCall;
|
||
|
|
|
||
|
|
#[test]
|
||
|
|
fn selector_collisions() {
|
||
|
|
assert_eq!(
|
||
|
|
crate::abi::IERC20::transferCall::SELECTOR,
|
||
|
|
crate::abi::SeraiIERC20::transferWithInInstruction01BB244A8ACall::SELECTOR
|
||
|
|
);
|
||
|
|
assert_eq!(
|
||
|
|
crate::abi::IERC20::transferFromCall::SELECTOR,
|
||
|
|
crate::abi::SeraiIERC20::transferFromWithInInstruction00081948E0Call::SELECTOR
|
||
|
|
);
|
||
|
|
}
|