| ensip | XX (draft, number TBD, next after ENSIP-24) |
|---|---|
| title | On-chain Contract Version Registry |
| status | Draft |
| type | Standards Track |
| author | Jeff Lau <jeff@ens.domains> |
| created | 2026-05-12 |
Up until now, subgraphs have been using one of the first versions of AssemblyScript (v0.6). Finally we've added support for the newest one available (v0.19.10)! 🎉
That will enable subgraph developers to use newer features of the AS language and standard library.
This guide is applicable for anyone using graph-cli/graph-ts below version 0.22.0. If you're already at a higher than (or equal) version to that, you've already been using version 0.19.10 of AssemblyScript 🙂
Note: As of
0.24.0,graph-nodecan support both versions, depending on theapiVersionspecified in the subgraph manifest.
| version: "3.4" | |
| services: | |
| traefik: | |
| image: traefik:tetedemoine-alpine | |
| network_mode: host | |
| ports: | |
| - target: 80 | |
| published: 80 | |
| protocol: tcp | |
| mode: host |
| license: gpl-3.0 |
- React is the V in MVP (Model-View-Controller)
- It's architecture is similar to the Web Components standard
- Simple said: You can create your "own html tags" like
- React then reassembles your components into the DOM and manages the expensive DOM updates (throught diffing a shadow DOM)
in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
| // React imports | |
| import React from 'react'; | |
| const Clock = (props) => { | |
| const center = { | |
| x: 15, | |
| y: 15, | |
| }; | |
| const lengths = { |
$ npm install --save babel-cli babel-preset-es2015
$ npm install --save-dev jasmine.babelrc:
{
"presets": ["es2015"]| process.env.NODE_ENV = process.env.NODE_ENV || 'test'; | |
| require('dotenv').load(); | |
| var keystone = require('keystone'); | |
| var chai = require('chai'); | |
| var dbURI = process.env.MONGO_URL | |
| keystone.init({ | |
| 'name': 'Post Model Test', | |
| 's3 config': {} //has to be set, but isn't used in our models |
This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.