six-days / ethereum-contracts Goto Github PK
View Code? Open in Web Editor NEWuseful common ethereum contract repository
License: Apache License 2.0
useful common ethereum contract repository
License: Apache License 2.0
createSaveEvidence函数在base合约和继承合约中都有定义,这里调用的时候,应该会调用继承合约中的createSaveEvidence函数。但实际上应该**调用基础合约中的createSaveEvidence函数吧?
所以,createSaveEvidence函数不应该是覆盖吧?
我就正常的部署和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: 252020/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
ethereum-contracts/oracle/Lottery.sol
Line 84 in 3e2ed43
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.