titanoboa
titanoboa copied to clipboard
*** boa.contracts.base_evm_contract.BoaError: <exception str() failed>
I'm attempting to call a function with titanoboa with a function that takes the following inputs:
address
uint256
address
However, I'm getting an issue:
(Pdb) pool_contract.withdraw(string_usdc, amount_in, eoa)
*** boa.contracts.base_evm_contract.BoaError: <exception str() failed>
It looks like the string_usdc is the issue, but it looks like a fine string:
(Pdb) string_usdc
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
(Pdb) eoa
'0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266'
The reason I think it's the string_usdc, is because when I pass in a different address for string_usdc it works fine:
# This works
(Pdb) pool_contract.withdraw(eoa, amount_in, eoa)