Comments (8)
Yeah I'll take a look at the NFTokenMock business. Will reopen in the meantime.
from azimuth.
Wait huh, they don't? Last I checked only PlanetSale tests sporadically tripped over a tiny inaccuracy in account balance.
from azimuth.
The PlanetSale tests indeed still do that, but I also noticed some problems with NFTokenMock. I think I used to know what the latter was related to, but don't anymore.. 😄
Re: the PlanetSale tests, since we know about the small handful-of-wei inaccuracy and haven't judged it to be an issue, perhaps we should just relax the passing condition by comparing within +-20 wei or whatever is required (instead of a hard equality check).
from azimuth.
The NFTokenMock function should be consistent until you change the Ecliptic.sol code? iirc there was some web3-side weirdness with function overloading. If that's still a thing, it might be fixable by just using a more recent web3 version.
from azimuth.
I took a look into the NFTokenMock tests and they can just fail (apparently) nondeterministically. Sometimes they all pass, other times one or another fails due to an unhandled EVM revert.
It might be worth updating the truffle version, since there's been a new major release, and that will include a newer web3. I'll close this one in any case.
from azimuth.
(Reopening this because the NFTokenMock test problems have annoyed me yet again, so this is clearly still an issue..)
from azimuth.
#30 may have finally fixed this. I observed the test suite failing occasionally when I checked that branch pre-merge, but it's possible I simply forgot to npm install
the new dependencies or something stupid like that. I've since run the test suite a bunch of times and haven't seen any of those weird NFTokenMock issues.
I'll be bold, close this, and hope I never have to open it again.
from azimuth.
^ nm
from azimuth.
Related Issues (16)
- It's difficult to determine the point # from the ERC721 metadata HOT 1
- Update Truffle HOT 1
- Unclear Claims comment HOT 2
- "Sectors" extension HOT 6
- Broken link on azimuth.network HOT 1
- Tests & deployment broken HOT 7
- Etherscan reports AZP as an ERC-20, not an ERC-721, token. HOT 2
- Please consider adding a LICENSE HOT 3
- Document Polls should include URLs HOT 3
- Remove pointsownedby from azimuth to save gas HOT 1
- Contracts/addresses not in sync with those deployed HOT 1
- tests/deployments fail HOT 2
- Ecliptic: galaxies should be able to issue planets HOT 7
- ERC721 compatibility HOT 2
- Setting proxies takes multiple transactions
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 azimuth.