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
Jul 25 16:53:05 json: decoding request | |
Jul 25 16:53:05 JSON content: {"filePath":"/workspaces/gcl-all/gcl-vscode/example/gcd.gcl"} | |
Jul 25 16:53:05 json: decoding succeeded | |
Jul 25 16:53:05 Reload handler >>>> /workspaces/gcl-all/gcl-vscode/example/gcd.gcl | |
Jul 25 16:53:05 load: start | |
Jul 25 16:53:05 ask file state ref | |
Jul 25 16:53:05 ask file state map | |
Jul 25 16:53:05 lookup file state map | |
Jul 25 16:53:05 found | |
Jul 25 16:53:05 readSource: version: 3 |
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
json: decoding request | |
JSON content: {"filePath":"/workspaces/gcl-all/gcl-vscode/example/gcd_2.gcl"} | |
json: decoding succeeded | |
Reload handler >>>> /workspaces/gcl-all/gcl-vscode/example/gcd_2.gcl | |
load: start | |
ask file state ref | |
ask file state map | |
lookup file state map | |
found | |
source read |
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
vscode ➜ /workspaces/gcl-all/gcl-vscode/example (main) $ /vscode/vscode-server/bin/linux-x64/18e3a1ec544e6907be1e944a94c496e302073435/node | |
Welcome to Node.js v22.15.1. | |
Type ".help" for more information. | |
> |
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
#!/bin/sh | |
osascript -e 'tell application "System Events" to set frontApp to (name of first process whose frontmost is true)' -e 'tell application "System Events" to tell process frontApp to set position of window 1 to {0, 0}' -e 'tell application "System Events" to tell process frontApp to set size of window 1 to {1512, 3000}' |
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
<img src="https://lcamel.github.io/LCamel-Notes/LazyTower/level_digests.png" width="431px"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// https://github.com/iden3/circomlib/blob/master/circuits/comparators.circom | |
const p = 23; | |
const N = 2; | |
var fp = []; // false positive | |
for (var x = 0; x < p; x++) { | |
fp[x] = []; | |
for (var y = 0; y < p; y++) { | |
fp[x][y] = ' '; |
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
pragma circom 2.1.4; | |
include "circomlib/multiplexer.circom"; | |
include "circomlib/comparators.circom"; | |
// Pick in[sel] | |
template PickOne(N) { | |
signal input in[N]; | |
signal input sel; | |
signal output out; |
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
% yarn workspace hashtower.sol test | |
Warning: Contract code size exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries. | |
--> poseidon-solidity/PoseidonT3.sol:4:1: | |
| | |
4 | library PoseidonT3 { | |
| ^ (Relevant source part starts here and spans across multiple lines). | |
Compiled 3 Solidity files successfully |
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
% yarn workspace hashtower.sol test:coverage | |
Version | |
======= | |
> solidity-coverage: v0.8.2 | |
Instrumenting for coverage... | |
============================= | |
> HashTowerHashChain.sol |
NewerOlder