error
--> /home/thealterego/.forc/git/checkouts/std-9be0d6062747ea7/31a1d6f98395f571cd3674b492d9bf4773c55f65/sway-lib-std/src/convert.sw:9:8
|
7 |
8 | /// Converts to this type from the input type.
9 | fn from(b: T) -> Self;
| ^^^^ Internal compiler error: Method from_34 is a trait method dummy and was not properly replaced.
Please file an issue on the repository and include the code that triggered this error.
10 | }
|
____
Aborting due to 1 error.
error: Failed to compile FlashScript
I’m still writting but this is the code that caused it.
script;
use FlashAbI::FlashSettler;
use std::logging::log;
configurable {
FLASHLOAN_SETTLEMENT: Identity = Identity::Address(Address::from(0x0000000000000000000000000000000000000000000000000000000000000000)),
}
fn main(flash_user: ContractId, amount: u64) {
let flash_loan_settler = abi(FlashSettler, FLASHLOAN_SETTLEMENT.into());
flash_loan_settler.trigger_flashloan(amount, flash_user);
}