Comments (15)
Hey @owocki please do that :) Maybe it makes sense if I add some detais to the issue beforehand (e.g. acceptance criteria and some more details about the use cases). I can do this tomorrow. Would this work?
from safe-smart-account.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 100.0 DAI (100.0 USD @ $1.0/DAI) attached to it.
- If you would like to work on this issue you can 'start work' on the Gitcoin Issue Details page.
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $20,901.36 more funded OSS Work available on the Gitcoin Issue Explorer
from safe-smart-account.
@rmeissner let me know if/when to payout :)
from safe-smart-account.
@rmeissner hi from gitcoin.co... we have some budget to place on small issues like this. do you mind if i post a bounty of like 100 DAI on this?
from safe-smart-account.
@usmanmuhd Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an βOpenβ status. Please let us know if you have questions!
- warning (3 days)
- escalation to mods (6 days)
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
from safe-smart-account.
@rmeissner I would like to tackle this.
One question Should i write tests for the ERC20 mock implementation ?
I have applied on gitcoin as well
from safe-smart-account.
@subramanianv that should not be necessary as long as the mock implementation is kept to a minimum. It is also only necessary that the mock token implements the methods used for the tests (so if transferFrom
is not used, no need to implement it ;) )
EDIT: this is the token we use right now for testing: https://github.com/gnosis/safe-contracts/blob/development/test/utilsPersonalSafe.js#L87
from safe-smart-account.
@rmeissner I have made a early PR just to know if I am on the right track. There is a test case should fail if token payment fails under gnosisSafePersonalEditionCreation.js
. In that how would you estimate userCosts. it has been hardcoded to 1337. Please review this PR.
from safe-smart-account.
@rmeissner I am now using the mock contract npm module. However there is one test that I am expecting to fail but it doesn't. Can you take a look ?
let mockToken = MockToken.at(mockContract.address);
let transferData = await mockToken.contract.transfer.getData(executor, 91861);
await mockContract.givenRevert(transferData);
await web3.eth.sendTransaction({from: accounts[0], to: gnosisSafe.address, value: web3.toWei(1.1, 'ether')})
let tx = await safeUtils.executeTransaction(lw, gnosisSafe, 'executeTransaction withdraw 0.5 ETH', [lw.accounts[0], lw.accounts[2]], accounts[0], web3.toWei(0.5, 'ether'), "0x", CALL, executor, { gasToken: mockToken.address })```
from safe-smart-account.
@rmeissner I am using the new mockContract. Please review the PR and let me know if I need to add more tests. Thanks :)
from safe-smart-account.
@owocki I am trying to submit work for this task on gitcoin website. Metamask throws an error ALERT: Transaction Error. Exception thrown in contract code
. Can you help ? Thanks.
from safe-smart-account.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 100.0 DAI (100.0 USD @ $1.0/DAI) has been submitted by:
@owocki please take a look at the submitted work:
- PR by @subramanianv
- Learn more on the Gitcoin Issue Details page
- Want to chip in? Add your own contribution here.
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $19,317.30 more funded OSS Work available on the Gitcoin Issue Explorer
from safe-smart-account.
@owocki All requested tests have been implemented and the PR has been merged :) So I am fine with the payout ;)
from safe-smart-account.
@owocki Can you process the payout when you get a chance ? Thank you :)
from safe-smart-account.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 100.0 DAI (100.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @subramanianv.
- Learn more on the Gitcoin Issue Details page
- Questions? Checkout Gitcoin Help or the Gitcoin Slack
- $25,742.25 more funded OSS Work available on the Gitcoin Issue Explorer
from safe-smart-account.
Related Issues (20)
- Rename the repo to `safe-smart-account` HOT 5
- Technical background for `onlyNonceZero` in `SafeToL2Migration`? HOT 6
- JSON Mix Up
- Figure out why Safe can't compile on 0.8 with IR optimizations HOT 2
- Imports Ordering for Contracts HOT 2
- Using `returndatasize()` directly in assembly HOT 1
- Compilation fails with solc 0.8.23 HOT 4
- LZ's `sendFrom()` produces insufficient gas error in tx simulation HOT 1
- zksync branch doesn't seem to contain correct zksync deployment scripts
- Signature verification does not enforce a maximum size on the signature bytes
- Split Guard into Module and Transaction Guard
- diamondsafe HOT 1
- for HOT 1
- Add zkSync Support To Repository HOT 1
- Add zkSync Support To v1.4.1
- Safe Setup Contract for Same Multi-chain Address HOT 1
- Evalutate zkSync Blockers HOT 3
- Formally Verify New Signature Requirements From #754 HOT 1
- SafeL2 execTransactionFromModuleReturnData does not emit event HOT 1
- Create a pre call hook for execTransaction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safe-smart-account.