|
|
@@ -1055,13 +1055,13 @@ fn constructors_and_messages_distinct_in_dispatcher() {
|
|
|
}"##,
|
|
|
);
|
|
|
|
|
|
- let constructor = 0x00010203u32.to_be_bytes().to_vec();
|
|
|
+ let constructor = vec![0, 1, 2, 3];
|
|
|
// Given this constructor selector works as intended
|
|
|
runtime.raw_constructor(constructor.clone());
|
|
|
// Expect calling the constructor via "call" to trap the contract
|
|
|
runtime.raw_function_failure(constructor);
|
|
|
|
|
|
- let function = 0x04050607u32.to_be_bytes().to_vec();
|
|
|
+ let function = vec![4, 5, 6, 7];
|
|
|
// Given this function selector works as intended
|
|
|
runtime.raw_function(function.clone());
|
|
|
// Expect calling the function via "deploy" to trap the contract
|