Comments (2)
The block timestamp looks good, the block hight is still wrong.
see example of the first block created via gamma v0.5
esticontract.go -signer user1
{
"RequestStatus": "COMPLETED",
"TxId": "DHj4zMCMVCPaHQhWg8hHTMoXyLmnyJuwdtDxNJ329rDdLa3dQoSyRcD",
"ExecutionResult": "SUCCESS",
"OutputArguments": [],
"TransactionStatus": "COMMITTED",
"BlockHeight": "17775",
"BlockTimestamp": "2018-11-27T12:21:27.844Z"
}
from orbs-contract-sdk.
Block height is not wrong.. the system is closing blocks very quickly so empty blocks are closed when the server is idle.
We can slow the rate down, but that will mean that if you send a transaction you will wait this time.
Meaning if block time was 1 second, then when you send a transaction you may need to wait up to a second until you get a response.
What time do you want?
from orbs-contract-sdk.
Related Issues (20)
- cannot see event when calling a function in read only permission scope (run-query)
- v1 and gamma-cli aren't compatible
- ethereum.CallMethod doesn't work HOT 1
- when overriding a sting in the cli using args, it cannot receive a space
- gamma-cli forces every use of the type bytes to have a checksum encoded hex HOT 1
- bug - when using -arg1 gamma-cli doesn't accpet 0x HOT 1
- bug - when using -arg1 in gamma-cli and making error the error message says argument 0 HOT 1
- using the fake_sdk to test contracts there is some kind of connection between tests
- fake sdk missing fake functions env.GetBlockHeight()
- fake sdk should list the mocks not called in verify mock
- fake sdk should list mocked functions that where not called
- TestGetBlockNumberOnEthereum HOT 1
- Context: context not found error HOT 1
- Consider how we save big.Int to state
- state.ReadBytes() returns emty slice instead of nil
- validations should be done before mutation of state HOT 1
- documentation review: addresses
- documentation review: events
- document cross-contract usage and reccomendations
- missing API documentation
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 orbs-contract-sdk.