This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wasm-pack build | |
[INFO]: 🎯 Checking for the Wasm target... | |
[INFO]: 🌀 Compiling to Wasm... | |
Compiling ethers-wasm v0.1.0 (/Users/jannis/work/oss/jannis/ethers-wasm) | |
error[E0433]: failed to resolve: could not find `EthEvent` in `ethers_contract` | |
--> src/contracts.rs:3:1 | |
| | |
3 | abigen!(Factory, "./abis/factory.json"); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `EthEvent` in `ethers_contract` | |
| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipe( | |
client.subscription(query, variables), | |
subscribe(result => { | |
try { | |
if (result.error) { | |
throw result.error | |
} | |
... | |
} catch (err) { | |
// log the error here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The entry file of your WebAssembly module. | |
class ExpectTo<T> { | |
value: T | |
constructor(value: T) { | |
this.value = value | |
} | |
equal(other: T): void { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Send query fees for allocation 0x718A0d1264b7F80369CCf9a89e83C57A841f5D00 (0.498180532055191122 GRT), which previously failed on 2020-12-26T09:09:47.857Z | |
.. pending: https://etherscan.io/tx/0x4bab90b3194a6526ff3152d563c28c5c326ecb93751f797904e8f74766da5974 | |
Send query fees for allocation 0x6DB56297839Cd4711078eAd1D5EBfe83c35e29Ec (8.231211994479437827 GRT), which previously failed on 2020-12-25T23:34:49.753Z | |
.. pending: https://etherscan.io/tx/0x088bc5ebb5878f39f9fbc2f48a34b132fe704f04a7355bfacb1f001afb9830d5 | |
Send query fees for allocation 0x2d330041fa71a53B7CF469eC5843d699B1093C22 (8.247464480312050578 GRT), which previously failed on 2020-12-25T23:17:41.607Z | |
.. pending: https://etherscan.io/tx/0xe2944b1e281a97276c070c3392b6b9174c6ccfdb0f837db2b7082de23a971361 | |
Send query fees for allocation 0xD0eDDa733021DDa9a49d5639b1d5A0075025F685 (5.862612297028162079 GRT), which previously failed on 2020-12-25T17:34:49.598Z | |
.. pending: https://etherscan.io/tx/0x2713a4715c7a96d3a1a82ec0b536e8850bef5125b6db1439b4484 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id | channel_id | signing_address | chain_id | channel_nonce | app_definition | challenge_duration | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
# See http://nginx.org/en/docs/http/websocket.html | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
location ... { | |
# Proxy configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Run using a local build of ClojureScript master, e.g.: | |
;; clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "1.10.155"}}}' -i build.clj | |
(require '[cljs.build.api :as b]) | |
(b/watch "src" | |
{:output-dir "out" | |
:output-to "out/main.js" | |
:optimizations :none | |
:verbose true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/graph/src/data/graphql/validation.rs b/graph/src/data/graphql/validation.rs | |
index 19e677be..1a4953b5 100644 | |
--- a/graph/src/data/graphql/validation.rs | |
+++ b/graph/src/data/graphql/validation.rs | |
@@ -146,8 +146,9 @@ fn validate_derived_from(schema: &Document) -> Result<(), SchemaValidationError> | |
let object_and_interface_type_fields = get_object_and_interface_type_fields(schema); | |
// Iterate over all derived fields in all entity types; include the | |
- // `field` argument of @derivedFrom directive | |
- for (object_type, field, target_field) in type_definitions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ kauri-ipfs ./sync-files.sh | |
Fetching QmVr9ksVmc3A6yRU3kfjyMF67PD2RjH3dEuu6T8ezvLXdL | |
.. Fetching QmeRYyFCrUbz9BMDCePq6ki766vbzjHNnV2gkrKMRqStgf | |
.. Fetching QmQ94fkPGDNUNSfvpyMgv9bjvaY9BUqinqAsawNSQY4qsq | |
.. Fetching QmVNJ8J1p3C2NqN8WYcXqBo4EmiPXgc4UJJe7FX3jVEVBb | |
.. Fetching QmUAyrxMcrhPuX1AjXenAcrE46e42Dm9sdZio9mJd8QZ4X | |
.. Fetching QmY6Ly3GGuMh5gLfNJcBZSPe37PzRdTmTP1tzFrGWXc2zQ | |
.. Fetching Qma9h4zEKG6kDo2Da2RcRFxgUtgc4qptCGtjyXAinyGo59 | |
.. Fetching QmZ5J7UJXwWuPiPZWTfCwCPkJUBCqdPzgyY71i9XgJGdgR | |
.. Fetching QmX6Cjg1tiFC6RcCrXGodStwSP2t6CsjmYPA2FxvMRYBLo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/schema.graphql b/schema.graphql | |
index 2b16914..0cb8249 100644 | |
--- a/schema.graphql | |
+++ b/schema.graphql | |
@@ -4,13 +4,12 @@ type CreatedToken @entity { | |
creator: ID! | |
timestamp: BigInt! | |
contractAddress: Bytes! # address | |
- synthetics: [Synthetic!]! @derivedFrom(field: "count") | |
+ synthetic: Synthetic |
NewerOlder