darkforest-eth / eth Goto Github PK
View Code? Open in Web Editor NEWDark Forest contracts
License: GNU General Public License v3.0
Dark Forest contracts
License: GNU General Public License v3.0
Hi everyone, I am currently trying to deploy the smart contract on Ganache for local development but, when it comes to DFMoveFacet
the transaction goes in out of gas. TBH, I am not using hardhat but only the web3 library ( it is for a university project and we are not allowed to use truffle and hardhat). I want to ask you guys if you handle the DFMoveFacet
in some particular ways to deploy it?
Thank you in advance
eth> node --version
v16.13.0
eth> tsc -v
Version 4.5.2
eth> yarn --version
1.22.17
> yarn
yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ yarn run compile
yarn run v1.22.17
$ hardhat compile
An unexpected error occurred:
tasks/deploy-more.ts:119:5 - error TS2740: Type 'Contract' is missing the following properties from type 'DarkForestUtils': _calculateByteUInt, _getBiome, _getPlanetLevelTypeAndSpaceType, _getRadius, and 11 more.
119 utils: utils,
~~~~~
task-types.ts:27:3
27 utils: DarkForestUtils;
~~~~~
The expected type comes from property 'utils' which is declared here on type 'LibraryContracts'
tasks/deploy-more.ts:120:5 - error TS2740: Type 'Contract' is missing the following properties from type 'DarkForestPlanet': _getDecayedPop, checkPlayerInit, getRefreshedPlanet, isDefBoost, and 4 more.
120 planet: planet,
~~~~~~
task-types.ts:28:3
28 planet: DarkForestPlanet;
~~~~~~
The expected type comes from property 'planet' which is declared here on type 'LibraryContracts'
tasks/deploy-more.ts:122:5 - error TS2739: Type 'Contract' is missing the following properties from type 'Verifier': verifyBiomebaseProof, verifyInitProof, verifyMoveProof, verifyRevealProof
122 verifier: verifier,
~~~~~~~~
task-types.ts:30:3
30 verifier: Verifier;
~~~~~~~~
The expected type comes from property 'verifier' which is declared here on type 'LibraryContracts'
tasks/deploy-more.ts:123:5 - error TS2741: Property 'checkFindArtifact' is missing in type 'Contract' but required in type 'DarkForestArtifactUtils'.
123 artifactUtils: artifactUtils,
~~~~~~~~~~~~~
node_modules/@darkforest_eth/contracts/typechain/DarkForestArtifactUtils.d.ts:178:3
178 checkFindArtifact(
~~~~~~~~~~~~~~~~~
'checkFindArtifact' is declared here.
task-types.ts:31:3
31 artifactUtils: DarkForestArtifactUtils;
~~~~~~~~~~~~~
The expected type comes from property 'artifactUtils' which is declared here on type 'LibraryContracts'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.