Coder Social home page Coder Social logo

ethereum-contracts's People

Contributors

six-days avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ethereum-contracts's Issues

go这边有个 “invalid opcode”的错误,不知道是我哪里操作有问题

我就正常的部署和setNumber,点开奖之后remix这边显示没问题,但是go这边的log报错:

2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] QueryId: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2]
2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] Requester: 0x3d46e6116AE13858c625C9efeB8aD73D1D7e4396
2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] Fee: 1000000000000000
2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] CallbackAddr: 0x3d46e6116AE13858c625C9efeB8aD73D1D7e4396
2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] CallbackFUN: getOracelRandom(bytes32,uint64,uint256)
2020/07/18 10:32:18.571 [D] [asm_amd64.s:1373] QueryData: {"url":"https://www.random.org/integers/?num=1&min=0&max=30&col=1&base=10&format=plain&rnd=new","responseParams":[]}
2020/07/18 10:32:25.266 [D] [watch.go:155] [sendQueryRequest] get https://www.random.org/integers/?num=1&min=0&max=30&col=1&base=10&format=plain&rnd=new response is: 25

2020/07/18 10:32:25.349 [E] [asm_amd64.s:1373] [sendQueryResponse] err: [SendQueryResponse] Transact failed: VM Exception while processing transaction: invalid opcode
2020/07/18 10:32:25.518 [E] [asm_amd64.s:1373] [sendQueryResponse] err: [SendQueryResponse] Transact failed: VM Exception while processing transaction: invalid opcode
2020/07/18 10:32:25.631 [E] [asm_amd64.s:1373] [sendQueryResponse] err: [SendQueryResponse] Transact failed: VM Exception while processing transaction: invalid opcode
2020/07/18 10:32:25.811 [E] [asm_amd64.s:1373] [sendQueryResponse] err: [SendQueryResponse] Transact failed: VM Exception while processing transaction: invalid opcode
2020/07/18 10:32:25.811 [E] [asm_amd64.s:1373] [sendQueryResponse] exceed retry times

之后查询中奖查不到
image
image
image

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.