Comments (2)
In case of a main() run with gno run your_main.gno
it's the second case you mention. So:
Lines 945 to 957 in a1ab6a1
calls...
gno/gnovm/stdlibs/time/time.go
Lines 10 to 17 in a1ab6a1
where the machine is set, but m.Context == nil
thus returning 0, 0, 0 (I tested this adding panics and recompiling the code).
Are there counterindications to not want the actual timestamps here?
If we do, we probably want to reduce the precision of the returned timestamps, because of side-channels vulns like meltdown, as divulging precise timing information could be used to create a more effective attack model.
from gno.
cc @thehowl
from gno.
Related Issues (20)
- [chain] Add a more robust e2e node / cluster testing framework
- CI should detect problems in PRs, not after merging HOT 1
- CI: detect outdated docs' examples
- gnofaucet should have docker images/binaries HOT 1
- "Go version autonomy" for important packages used by the keeper, like go/types and go/format
- [ops] Add release flow for `gnofaucet`
- feature request: Ledger hardware wallet support for validator addresses
- Move GnoVM testing logic within pkg/gnolang; separate from `gno test` logic
- [GnoVM] Better error message with `MsgRun` HOT 1
- javascript: getElementById("source") not always available
- change default genesis package creator, and add way to configure it HOT 1
- Validator resolves old IP address after sentry IP change when using FQDN HOT 1
- p/demo/mux: support query strings HOT 2
- integrate p/demo/avl/pager with existing examples
- Discord roles HOT 3
- [gno test]: default realm balance in tests HOT 1
- r/demo/profile standard for Avatar image
- [Namespaces] Permit additional addresses to a single namespace
- [gno.mod] Add `replace`
- [gnoweb/realms] Standardize hyperlink structure HOT 1
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 gno.