Hi all o/
Does anyone know, how correctly set up a test in truffle mocha using web3.js so the token minted by contract1.mint(addr1) could be used by the same addr1 of a contract2.method? balanceOf(contract1.addr1) = 1, whereas balanceOf(contract2.addr1) = 0. It got me a lil confused, cause I thought it's the data from the blockchain, no matter what contract I call it from.
Nov 11, 2022, 8:07 PM