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

MiniWallet Smart Contracts Testing and Deployment #3

Open
5 of 33 tasks
Tracked by #13
johnwhitton opened this issue Aug 9, 2022 · 0 comments
Open
5 of 33 tasks
Tracked by #13

MiniWallet Smart Contracts Testing and Deployment #3

johnwhitton opened this issue Aug 9, 2022 · 0 comments

Comments

@johnwhitton
Copy link
Collaborator

johnwhitton commented Aug 9, 2022

This Issue tracks the next steps for the SMS-Wallet Smart Contracts (Chaincode)
It follows on from Pull Request #1 enhancing and hardening testing, deployment and adding in additional ERC777 functionality

ToDo

Priority Tasks

  • Rename AssetManager.sol to MiniWallet.sol
  • Add deposit functionality to approve
  • Change all requires to if tests and error messages
  • Testing
    • Additional tests for require, modifiers and pausable functions
    • Additional tests when adding operators over thresholds
    • Additional tests for depositing or approving funds over global limits
    • Refactor testing
  • Deployment
    • Review deployment best practices for proxies including using hardhat-deploy instead of openzepplin upgrades
    • Deploy to Testnet
    • Verify contract on Testnet
    • Test Contract Upgrade Process
  • Go Live Checklist
    • Testnet Deploy
    • Testnet MinServer Integration
    • Production Deploy
  • Add multicall functionality for batch requests

Additional Tasks

Outstanding Issues/Clarifications

  • ERC721 safeTransferFrom not working in AssetManager.ts (using transferFrom)
  • ERC1155 safeTransferFrom needs "0x" passed for data in AssetManager.ts ("" in AssetManager.sol)
  • Review errorHanding for transfer (currently capture failures for ERC20 but not ERC721 and ERC1155).
  • Deploy failing with unpredicatable gas limit was caused when there was a bug in the contract (not setting the admin role before setting operators) if this happens again may need to apply this workaround to fix gas price
@johnwhitton johnwhitton mentioned this issue Aug 9, 2022
57 tasks
@johnwhitton johnwhitton changed the title SMS Wallet chaincode - Testing and Deployment Enhancements and ERC777 support MiniWallet Smart Contracts Testing and Deployment Sep 1, 2022
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

No branches or pull requests

1 participant