GithubHelp home page GithubHelp logo

Tests broken about origin HOT 5 CLOSED

mikeshultz avatar mikeshultz commented on June 2, 2024
Tests broken

from origin.

Comments (5)

franckc avatar franckc commented on June 2, 2024 1

@jonathansampson Ah yes good catch! Thanks for reporting this. I'll fix it. In the meantime if that blocks you for your local development, update the code to have the IPFS hash uploaded regardless of the environment: https://github.com/OriginProtocol/origin/blob/master/packages/graphql/src/mutations/identity/deployIdentity.js#L153

from origin.

mikeshultz avatar mikeshultz commented on June 2, 2024

Related:

@franckc seems somewhat related to your IPFS changes

from origin.

franckc avatar franckc commented on June 2, 2024

ah yes. sorry. I'll fix when I have a minute...

from origin.

jonathansampson avatar jonathansampson commented on June 2, 2024

I did a fresh pull (now on master 186c391), and I am still seeing this when I run yarn start:

PS D:\GitHub\origin-store\dapps\shop> yarn start
yarn run v1.21.1
$ node -r @babel/register index
Starting ganache...
Ganache listening on port 8545.
Start IPFS
Swarm listening on /p2p-circuit/ipfs/QmVo32nSzvvhgw4LT6fKgTwBUYA8XbuReonEMZYF2LgJQR
Started IPFS
Deploying contracts...
Connecting to network test
🚀  Populate GraphQL server ready at http://localhost:4000/
Using NodeAccount 0x0d1d4e623D10F9FBA5Db95830F7d3839406C6AF2
Disabled MetaMask
Imported wallets
Sent eth to Admin
Deployed Origin token to 0xF426505ac145abE033fE77C666840063757Be9cd
Deployed DAI stablecoin to 0x9d075ae44D859191C121d7522da0Cc3B104b8837
Deployed OKB token to 0xd8672a4A1bf37D36beF74E36edb4f17845E76F4e
Deployed Tether to 0x51815CEbeF59b88DAfD1a5f24095eee1236ffCDd
Deployed marketplace v1 to 0x66078a97Def9d40B2cA7abb44733dD897Ec6231D
Added affiliate to marketplace v1
Deployed marketplace v0 to 0xdE5bb8B8961fAef05b2ab38A70C81BdBC91Add29
Added affiliate to marketplace v0
Sent eth to Relayer master account(0xFD5cf8Ec89aF8F4dA1371d40D50A625F3634B743)
Deployed Proxy Factory to 0xa43bD34038Ca13e7115e16770D722E62ea706212
Deployed Identity Proxy imp to 0x12104CB63B58fD9Ed06034052A4C8D268f5D9125
Sent eth to seller
Sent ogn to seller
Set seller token allowance
Sent eth to buyer
Sent DAI to buyer
Set buyer dai token allowance
Sent OKB to buyer
Set buyer OKB token allowance
Sent USDT to buyer
Set buyer USDT token allowance
Sent eth to arbitrator
Sent eth to affiliate
Deployed Identity Events contract to 0x9fD9828a17ef3402540E9D53e25b7e785021Dc6E
(node:98300) UnhandledPromiseRejectionWarning: Error: Given parameter is not bytes: "NOT_UPLOADED"
    at SolidityTypeBytes.formatInputBytes [as _inputFormatter] (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-abi\src\formatters.js:56:15)
    at SolidityTypeBytes.SolidityType.encode (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-abi\src\type.js:188:17)
    at D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-abi\src\index.js:255:29
    at Array.map (<anonymous>)
    at ABICoder.encodeParameters (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-abi\src\index.js:254:34)
    at D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-contract\src\index.js:420:24
    at Array.map (<anonymous>)
    at Object._encodeMethodABI (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-contract\src\index.js:419:12)
    at Object._processExecuteArguments (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-contract\src\index.js:735:39)
    at Object.send (D:\GitHub\origin-store\node_modules\web3\node_modules\web3-eth-contract\src\index.js:760:54)
    at _callee22$ (D:\GitHub\origin-store\packages\graphql\src\mutations/_txHelper.js:573:13)
    at tryCatch (D:\GitHub\origin-store\node_modules\regenerator-runtime\runtime.js:45:40)
    at Generator.invoke [as _invoke] (D:\GitHub\origin-store\node_modules\regenerator-runtime\runtime.js:271:22)
    at Generator.prototype.(anonymous function) [as next] (D:\GitHub\origin-store\node_modules\regenerator-runtime\runtime.js:97:21)
    at asyncGeneratorStep (D:\GitHub\origin-store\node_modules\@babel\runtime\helpers\asyncToGenerator.js:3:24)
    at _next (D:\GitHub\origin-store\node_modules\@babel\runtime\helpers\asyncToGenerator.js:25:9)
    at D:\GitHub\origin-store\node_modules\@babel\runtime\helpers\asyncToGenerator.js:32:7
    at new Promise (<anonymous>)
    at D:\GitHub\origin-store\node_modules\@babel\runtime\helpers\asyncToGenerator.js:21:12
    at sendViaWeb3 (D:\GitHub\origin-store\packages\graphql\src\mutations\_txHelper.js:1103:22)
    at _callee4$ (D:\GitHub\origin-store\packages\graphql\src\mutations/_txHelper.js:784:11)
    at tryCatch (D:\GitHub\origin-store\node_modules\regenerator-runtime\runtime.js:45:40)
(node:98300) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:98300) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from origin.

franckc avatar franckc commented on June 2, 2024

Should be fixed now.

from origin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.