Comments (5)
Tried on node version v18.16.0 and it didn't work. Tried again on node v18.17.1
Still getting
https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034: Request failed \"404 Not Found\
yarn start
fails
from scaffold-eth-challenges.
Tried on node version v18.16.0 and it didn't work. Tried again on node v18.17.1 Still getting
https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034: Request failed \"404 Not Found\
yarn start
fails
Take a look to my solution, I did it for challenge-2 branch, but it should also fix this challenge-1 as it is the same issue. I will do another PR for that one as well
from scaffold-eth-challenges.
The probleme still the same, do we have a solution ?
from scaffold-eth-challenges.
Tried on node version v18.16.0 and it didn't work. Tried again on node v18.17.1 Still getting
https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034: Request failed \"404 Not Found\
yarn start
failsTake a look to my solution, I did it for challenge-2 branch, but it should also fix this challenge-1 as it is the same issue. I will do another PR for that one as well
Hi @ottodevs, for Challenge-0, I tried the changes you made for the dependencies and I was able to install properly the dependencies and then running yarn chain, but when trying yarn deploy I'm getting several errors(guessing that they are maybe related to the openzepellin versions, mine are "@openzeppelin/contracts": "^4.3.3" and "@openzeppelin/contracts-upgradeable": "^4.4.1", ). Did you face any similar problem?
The errors are:
TypeError: Function has override specified but does not override anything.
--> contracts/YourCollectible.sol:40:16:
|
40 | ) internal override(ERC721, ERC721Enumerable) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Invalid contracts specified in override list: "ERC721" and "ERC721Enumerable".
--> contracts/YourCollectible.sol:40:16:
|
40 | ) internal override(ERC721, ERC721Enumerable) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract:
--> @openzeppelin/contracts/token/ERC721/ERC721.sol:19:1:
|
19 | contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: This contract:
--> @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol:14:1:
|
14 | abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
| ^ (Relevant source part starts here and spans across multiple lines).
TypeError: Function needs to specify overridden contract "ERC721URIStorage".
--> contracts/YourCollectible.sol:63:9:
|
63 | override(ERC721, ERC721Enumerable)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: This contract:
--> @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol:12:1:
|
12 | abstract contract ERC721URIStorage is IERC4906, ERC721 {
| ^ (Relevant source part starts here and spans across multiple lines).
TypeError: Derived contract must override function "_beforeTokenTransfer". Two or more base classes define function with same name and parameter types.
--> contracts/YourCollectible.sol:10:1:
|
10 | contract YourCollectible is
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Definition in "ERC721":
--> @openzeppelin/contracts/token/ERC721/ERC721.sol:437:5:
|
437 | function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: Definition in "ERC721Enumerable":
--> @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol:60:5:
|
60 | function _beforeTokenTransfer(
| ^ (Relevant source part starts here and spans across multiple lines).
TypeError: Wrong argument count for function call: 3 arguments given but expected 4.
--> contracts/YourCollectible.sol:41:9:
|
41 | super._beforeTokenTransfer(from, to, tokenId);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from scaffold-eth-challenges.
Hi @fremdelve and @Maximesol I just would like to suggest taking a look to this other repo: https://github.com/scaffold-eth/se-2-challenges/, where there is lot of effort put into adapting the challenges to version 2 of scaffold eth, and most of the issues we were discussing here were already fixed.
I solved most of the challenges by just using that other repo instead. This one seems abandoned for some months now.
from scaffold-eth-challenges.
Related Issues (20)
- Challenge 0: Unhandled rejection (Error)
- Challenge 0: Getting Error on Yarn Deploy HOT 2
- Challenge 3 - Dice Game - Roll unit test missing await keyword HOT 1
- Challenge 2 - Contract verification on etherscan fails
- I'm running into a problem that I can't solve at the moment and I'd love to be able to get help. thanks for your help. HOT 2
- Challenge 0: Invalid Etherscan API Key
- Challenge 0: Open Sea Side Quest Import Instructions HOT 1
- Running yarn install reports an error
- help me!
- evm_increaseTime in test function of challenge 1 is flaky
- TypeError: `transferOwnership` is not a function in challenge 2 HOT 1
- Error HH100: Network georli doesn't exist HOT 1
- Error HH100: Network goerli doesn't exist
- Error HH604: Error running JSON-RPC server: error:0308010C:digital envelope routines::unsupported HOT 3
- having this issue while using yarn start HOT 2
- Exit code: 9 with Yarn Start. HOT 6
- add metamask opsional for better experience HOT 1
- Yarn installation error HOT 1
- yarn stat error HOT 2
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 scaffold-eth-challenges.