Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: split tss and deployer accounts #18

Merged
merged 1 commit into from
Aug 20, 2024
Merged

fix: split tss and deployer accounts #18

merged 1 commit into from
Aug 20, 2024

Conversation

skosito
Copy link
Contributor

@skosito skosito commented Aug 20, 2024

1st anvil account was used for both deployer (admin) and tss, making testing things like moving funds to tss hard

this PR uses 2nd anvil account for tss

closes: #15

@skosito skosito requested review from lumtis, fbac and fadeev as code owners August 20, 2024 13:33
@fadeev
Copy link
Member

fadeev commented Aug 20, 2024

I see the balance being deducted, which is good (I send 20 ETH):

cast b -e 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
9969.872192621346174525

But ZRC-20 don't seem to be transferred to a universal contract:

cast call 0x9fd96203f7b22bCF72d9DCb40ff98302376cE09c "balanceOf(address)(uint256)" 0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82 
0

@fadeev
Copy link
Member

fadeev commented Aug 20, 2024

I suppose it's a separate issue, because in the real environment the fungible module is sending ZRC-20 tokens to the contract and we don't have this logic in localnet yet.

@fadeev fadeev merged commit 399c178 into main Aug 20, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Balance doesn't change when calling gateway.depositAndCall
2 participants