This file contains hidden or 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
"event":"PEER_CONNECT_ERROR","peer":"tcp$$0000:0000:0000:0000:0000:ffff:d3fd:3c12$$10333","level":"error","stack":"Error: Socket inactive.\n at SocketTimeoutError.CustomError (/Users/dicarlo/projects/neo-one/packages/neo-one-utils/dist/index.js:87:24)\n at new SocketTimeoutError (/Users/dicarlo/projects/neo-one/packages/neo-one-node-network/dist/index.js:185:123)\n at Socket.<anonymous> (/Users/dicarlo/projects/neo-one/packages/neo-one-node-network/dist/index.js:507:29)\n at Object.onceWrapper (events.js:254:19)\n at Socket.emit (events.js:159:13)\n at Socket._onTimeout (net.js:421:8)\n at ontimeout (timers.js:466:11)\n at tryOnTimeout (timers.js:304:5)\n at Timer.listOnTimeout (timers.js:264:5)","timestamp":"2018-01-14T06:24:18.711Z"} | |
{"event":"PEER_CONNECT_ERROR","peer":"tcp$$0000:0000:0000:0000:0000:ffff:d1c5:a37b$$10333","level":"error","stack":"Error: Socket inactive.\n at SocketTimeoutError.CustomError (/Users/dicarlo/projects/neo-one/packages/neo-one-utils/dist/index.js:87 |
This file contains hidden or 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
/* @flow */ | |
import { | |
type GetCLIResourceOptions, | |
type InteractiveCLIArgs, | |
} from '@neo-one/server-plugin'; | |
import { | |
Client, | |
LocalKeyStore, | |
LocalUserAccountProvider, | |
LocalMemoryStore, |
This file contains hidden or 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
import { | |
Address, | |
Event, | |
Fixed, | |
SmartContract, | |
notify, | |
verifySender, | |
} from '@neo-one/smart-contract'; | |
class Transfer<Decimals extends number> extends Event { |
This file contains hidden or 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
import { | |
Address, | |
Event, | |
Fixed, | |
SmartContract, | |
notify, | |
verifySender, | |
} from '@neo-one/smart-contract'; | |
class Transfer extends Event { |
This file contains hidden or 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
Testing 0xfc732edee1efdf968c23c20a9628eaa5a6ccb934 | |
NOT EQUAL: | |
0xfc732edee1efdf968c23c20a9628eaa5a6ccb934 | |
113d59202fbe96d59b916b0556a10aa52013f14cc4 | |
=Y /��՛�kV� | |
� �L� | |
005847f80d | |
60000000000 | |
00e8764817 | |
100000000000 |
This file contains hidden or 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
private readonly foo = ArrayStorage.for<[Address, Address]>(); | |
private readonly foo2 = SetStorage.for<[Address, Address]>(); | |
private readonly balances = MapStorage.for<Address, Fixed<8>>(); | |
private readonly approvedTransfers = MapStorage.for<[Address, Address], Fixed<8>>(); | |
private mutableRemaining: Fixed<8> = 10_000_000_000_00000000; | |
private mutableSupply: Fixed<8> = 0; | |
public constructor( | |
public readonly owner: Address = Deploy.senderAddress, | |
public readonly startTimeSeconds: Integer = Blockchain.currentBlockTime + 60 * 60, |
This file contains hidden or 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
expect(mintReceipt.result.gasConsumed).toMatchSnapshot(); | |
expect(mintReceipt.result.gasCost).toMatchSnapshot(); |
This file contains hidden or 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
const jest = require('jest-cli'); | |
const fs = require('fs-extra'); | |
const nodePath = require('path'); | |
const outputDir = process.env.TEST_UNDECLARED_OUTPUTS_DIR; | |
const cwd = process.cwd(); | |
const getSnapshotPath = (testResult) => { | |
const filePath = nodePath.relative(cwd, testResult.testFilePath); |
This file contains hidden or 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
load("//packages/bazel/rules_common:defs.bzl", | |
"module_mappings_runtime_aspect", | |
"collect_node_modules_aspect", | |
"sources_aspect", | |
"test_sources_aspect", | |
"short_path_to_manifest_path", | |
"get_ci") | |
load("//packages/bazel/rules_nodejs/internal/node:node.bzl", "nodejs_binary_impl", | |
"NODE_EXECUTABLE_OUTPUTS", "BASE_NODE_EXECUTABLE_ATTRS", "NODE_TOOLCHAINS") |
This file contains hidden or 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
load(":providers.bzl", "TypeScriptModuleInfo") | |
def _test_sources_aspect_impl(target, ctx): | |
result = depset() | |
if hasattr(ctx.rule.attr, "tags") and "NODE_MODULE_MARKER" in ctx.rule.attr.tags: | |
return struct(node_test_sources=result) | |
if hasattr(ctx.rule.attr, "deps"): |
OlderNewer