Comments (1)
I still need to scope the whole idea out, but I'm thinking about having a simple helper function in testing
to replace the ExecContext with one passed in by the user at runtime, which is executed within a closure.
gno/gnovm/stdlibs/testing/context.gno
Lines 9 to 21 in ef3b264
This is still WIP, but my idea here is that the user can essentially add a "mock" emitter and capture all emitted events, within the closure passed to Run.
from gno.
Related Issues (20)
- [chain] Upload and display benchmarks for the gno monorepo HOT 5
- [chain] Refactor and revise the `gnolang/benchmarks` repository
- [chain] Add OTEL tracing functionality + Jaeger HOT 2
- Track and identify emitted events HOT 4
- Document some gnoland flags require -lazy
- [chain] Audit the Gno.land storage layer
- Deleting an imported key deletes the old key HOT 1
- [GnoVM] Missing method DecRefCount when deleting element in pointer slice
- Client-side HTTP basic authentication support HOT 2
- Proposition to add a $GNOADDR or $ADDRESS env variable HOT 2
- Adding a package with insufficient gas causes causes 'should not happen' the next time
- [Examples] Refactor `p/demo/blog` package to use slice instead of AVL tree
- [docs-linter] Improve code readability & concurrency
- gnoweb: add Link to README.md HOT 1
- Encoding error of `priv_validator_key.json` when sharding for Horcrux
- ci: ensure examples/ is correctly formatted HOT 1
- [gnoweb] Debug Toolbar
- « gno test -v » should return « consumed gas » instead of « execution time » HOT 1
- maketx call should display storage cost in addition to gas consumed
- [gnokey] Query balance of a realm
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.