Comments (6)
Hi! I'm interested in tackling this issue, since I'm still scared of open source contributions, and this one seems pretty manageable. So, just to make sure, here's what I've done: I cloned the whole project and then replaced all instances of 'Stoppable' to 'Pausable'.
Now, How do I run tests for it?
Thanks in advance and sorry for the silly question!
from openzeppelin-contracts.
Hi @JGcarv, thanks for taking the time to contribute to OpenZeppelin.
You should be able to run the tests with npm test
after installing all dependencies (npm install
) and running an instance of testrpc
in another console.
testrpc
is installed with npm install -g ethereumjs-testrpc
from openzeppelin-contracts.
Hey @federicobond , thanks for the reply!
So, I installed the dependencies and ran the tests(which were all passing) but when I tried to git push origin myBranch
I got the following message:
remote: Permission to OpenZeppelin/zeppelin-solidity.git denied to JGcarv. fatal: unable to access 'https://github.com/OpenZeppelin/zeppelin-solidity.git/': The requested URL returned error: 403
Do you have any idea what it might be? Thanks!
from openzeppelin-contracts.
Yes, you cannot push directly to the OpenZeppelin fork because you are not a collaborator. You should make your own fork on GitHub and configure your local clone to push there, like this:
git remote rename origin upstream
git remote add origin [email protected]:JGcarv/zeppelin-solidity.git
Once you do that, you will be able to push your branch:
git push -u origin myBranch
If you want to pull updates from the official fork later, you can then do so like this:
git pull upstream master
from openzeppelin-contracts.
Yeah, that makes sense.
Anyway, I followed the steps and made a new pull request. Let me know if things do work out.
Also, thank you for your patience!
from openzeppelin-contracts.
Great work @JGcarv, closing this :)
from openzeppelin-contracts.
Related Issues (20)
- Fixing "Invalid OpCode" Truffle Error with Openzeppelin Library Installed HOT 6
- ERC20 _update customization is not practical. HOT 17
- Consider changing `memory-safe` NatSpec annotations to `assembly('memory-safe')` dialect string HOT 3
- A new utility contract to enhances the security of deploying and managing upgradable contracts in Hardhat plugin.
- A new utility contract to enhances the security of deploying and managing upgradable contracts in Hardhat plugin HOT 8
- Codecov result don't show up in the PR summary anymore
- Incorrect link formatting in NatSpec causing broken URLs HOT 2
- Consider making `Votes._moveDelegateVotes` internal virtual
- Consider using transient storage in Governor and AccessManager HOT 1
- Incorrect pragma
- bugs in the docs code? ERC721 HOT 1
- AccessManager restricted should not default to admin role HOT 1
- Mark AccessManagerUpgradeable abstract or implement initializer function HOT 1
- Fix API documentation broken links in the doc-site
- Make `_moveDelegateVotes` internal in Votes.sol HOT 1
- Request to Add Upgradable Interfaces in contracts/interfaces Directory of the OpenZeppelin Contracts Upgradeable Repository HOT 2
- Semi abstracted nonce support
- Low level call library
- UUPSUpgradeable is not ERC1882 (draft) compatible, but rather only ERC1967 compatible. HOT 2
- ERC1967Utils and/or UUPSUpgradeable should enforce that only ADMIN is allowed to upgrade the implementation HOT 1
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 openzeppelin-contracts.