Comments (3)
I added a Strategy for generating buff
in my PR #131.
For the hack, from what I understand, it's not great, but not terrible either.
Apparently, the issue is that the store is not reset between tests. And since we write in the memory for those types, it means that there are remaining artifacts from the former tests in the current one.
That is not necessary an issue if we keep using the memory with our current model: predetermined offset for computed values and stacks-pointer
for computation space. However, it is not great for repeatability. Maybe one day, we'll have randomly a configuration that makes a test fail, but we won't be able to replicate it because it came from a series of random events.
However, I believe this is a fact we should just accept for our tests, or the time needed to execute them will drastically increase if we have to create a new store hundredth of times per per tests.
from clarity-wasm.
@Acaccia Is this still needed?
from clarity-wasm.
@smcclellan Nope, itβs done.
from clarity-wasm.
Related Issues (20)
- add value to ShortReturnType runtime error
- Compilation errors handling HOT 4
- Stdlib `$is-valid-string-ascii" does not account for all characters
- Validate `define-x` names
- Wrong evaluation order for tuples
- Crosscheck for `replace-at` fails too often due to `ValueTooLarge`
- Testing: `evaluate` and `interpret` should give access to the events
- Improve unit tests coverage for stx-transfer-memo? function HOT 4
- Improve unit tests for token functions HOT 1
- Make design for bottom-up typechecker directly integrated inside the compiler
- OOM issues with `print`
- Separate clar2wasm into the compiler and the runtime
- Function `map` can provoke OOM HOT 1
- The type workaround provokes errors in `append`
- Incorrect error code returned from `secp256k1-recover?β`
- Need for a build target in CI
- `replace-at?` should check for the size of the replacement element
- A new bottom-up type-checker needed HOT 4
- compile-time error handling HOT 3
- Property testing for Token functions 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 clarity-wasm.