All Questions
Tagged with smart-contract e2e
3 questions
0
votes
0
answers
12
views
How to call function with the same name but from different trait inside ink-e2e-test
Let's say I have the following impl of my Contract:
impl Contract{
#[ink(message)]
pub fn my_fun(&self);
}
impl MyTrait1 for Contract {
#[ink(message)]
pub fn my_fun(&self);
}
...
0
votes
1
answer
86
views
How to do cross contract e2e tests on ink?
I have made a contract in ink! that build fine, and I am trying to make e2e tests. I don't manage to do this even by using the examples in ink! repertory.
My contract is a swap contract: it takes the ...
1
vote
0
answers
25
views
How to resolve "mismatched types" error while ink_e2e test : expected String, found Vec<u8>
I am working with ink_e2e testing framework in ink smart contract, and I have encountered an error message that's a bit confusing. The error says: mismatched types - expected String, found Vec<u8&...