Skip to content

Instantly share code, notes, and snippets.

View warner's full-sized avatar

Brian Warner warner

  • San Francisco, CA
View GitHub Profile

Packages that have NEWS.md updates

--- a/golang/cosmos/CHANGELOG.md
+++ b/golang/cosmos/CHANGELOG.md
@@ -3,6 +3,74 @@
 All notable changes to this project will be documented in this file.
 See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
 
+## [0.34.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/cosmos@0.32.2...@agoric/cosmos@0.34.0) (2023-05-19)
@warner
warner / bench-big-unmarshal.js
Last active November 7, 2022 04:36
marshal benchmark data
//
// Large data for marshal benchmarking
//
// 'serialized.js' contains JSON-encoded capdata ({ body, slots })
// with a 621kB body and 643 slots. It represents the state of a
// Wallet after many trade operations had been executed (and not all
// of them were cleaned up: think of it as a worst-case serialization
// task).
import '@endo/init';
@warner
warner / README.md
Last active May 27, 2021 00:11
git history examples

git history examples

@warner
warner / output.txt
Created October 28, 2020 18:11
output of exchange benchmark
packages/swingset-runner$ node -r esm bin/runner --init --config demo/exchangeBenchmark/swingset.json --benchmark 1 run -- --prime
alice moola before: balance {"brand":{},"value":3}
alice simoleans before: balance {"brand":{},"value":0}
bob moola before: balance {"brand":{},"value":0}
bob simoleans before: balance {"brand":{},"value":3}
bob moola after: balance {"brand":{},"value":1}
bob simoleans after: balance {"brand":{},"value":2}
alice moola after: balance {"brand":{},"value":2}
alice simoleans after: balance {"brand":{},"value":1}
@warner
warner / load-ses.js
Last active August 20, 2020 19:29
SES without -r esm
import 'ses';
lockdown();
console.log('lockdown successful');
@warner
warner / bootstrap.js
Last active July 18, 2020 18:03
make-vat-transcript
/* global harden */
import { E } from '@agoric/eventual-send';
import { producePromise } from '@agoric/produce-promise';
function ignore(p) {
p.then(() => 0, () => 0);
}
export function buildRootObject() {
const callbackObj = harden({
@warner
warner / import-tap.js
Created March 17, 2020 05:13
failing import of 'tap' under SES-0.7.3
import tap from 'tap';
@warner
warner / Makefile
Last active January 30, 2019 00:11
setup:
npm install esm
setup-old:
npm install esm@3.0.84
run:
ESM_DISABLE_CACHE=1 node -r esm test.js
--- /Users/warner/stuff/crypto/ethereum/dao.out 2016-07-19 18:18:44.000000000 -0700
+++ /tmp/1.out 2016-07-19 18:27:56.000000000 -0700
@@ -1,7 +1,4 @@
/*
-
-- Bytecode Verification performed was compared on second iteration -
-
This file is part of the DAO.
The DAO is free software: you can redistribute it and/or modify
@warner
warner / README.md
Last active April 1, 2016 07:18
git chaos

diagram from GitX