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
// ==UserScript== | |
// @name 博客来简体 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description 博客来电子书自动转化简体中文 | |
// @author lispczz | |
// @match https://viewer-ebook.books.com.tw/viewer/epub/* | |
// @grant none | |
// ==/UserScript== |
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
/*=====================================================* | |
* WARNING * | |
* Solidity to Yul compilation is still EXPERIMENTAL * | |
* It can result in LOSS OF FUNDS or worse * | |
* !USE AT YOUR OWN RISK! * | |
*=====================================================*/ | |
/// @use-src 0:"Greeter.sol" | |
object "Greeter_59" { |
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
function sync_agg() { | |
cd halo2-snark-aggregator | |
find . -name Cargo.toml | xargs gsed -i 's#^halo2_proofs = .*$#halo2_proofs = { path = "../../halo2/halo2_proofs", default-features = true }#g' | |
find . -name Cargo.toml | xargs gsed -i 's#^zkevm-circuits = .*$#zkevm-circuits = { path = "../../zkevm-circuits/zkevm-circuits" }#g' | |
find . -name Cargo.toml | xargs gsed -i 's#^eth-types = .*$#eth-types = { path = "../../zkevm-circuits/eth-types" }#g' | |
cd .. | |
} | |
function sync_agg_git() { |
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/src/evm/eei.ts b/src/evm/eei.ts | |
index 9793588..12d545b 100644 | |
--- a/src/evm/eei.ts | |
+++ b/src/evm/eei.ts | |
@@ -1,5 +1,5 @@ | |
import { debug as createDebugLogger } from 'debug' | |
-import { Account, Address, BN, MAX_UINT64 } from 'ethereumjs-util' | |
+import { Account, Address, BN, MAX_UINT64, toBuffer } from 'ethereumjs-util' | |
import { Block } from '@ethereumjs/block' | |
import Blockchain from '@ethereumjs/blockchain' |
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
{ | |
"overrides": [ | |
{ | |
"files": "*.sol", | |
"options": { | |
"printWidth": 80, | |
"tabWidth": 4, | |
"useTabs": false, | |
"singleQuote": false, | |
"bracketSpacing": false |
OlderNewer