Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH] Emit klab compatible output #49

Closed
d-xo opened this issue Jan 27, 2020 · 0 comments
Closed

[PATCH] Emit klab compatible output #49

d-xo opened this issue Jan 27, 2020 · 0 comments

Comments

@d-xo
Copy link

d-xo commented Jan 27, 2020

Submitting as a patch here because I am unable to make pull requests. Adding the following to .waffle.json will teach waffle to output klab compatible json files.

From f0abaa0468bca94a258f3c582cbcd803614dd550 Mon Sep 17 00:00:00 2001
From: David Terry <me@xwvvvvwx.com>
Date: Mon, 30 Dec 2019 10:38:37 +0100
Subject: [PATCH] emit klab compatibile solc json

see: https://ethereum-waffle.readthedocs.io/en/latest/configuration.html#klab-compatibility
---
 .waffle.json | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.waffle.json b/.waffle.json
index 648160c..6e4046a 100644
--- a/.waffle.json
+++ b/.waffle.json
@@ -1,6 +1,13 @@
 {
   "solcVersion": "./node_modules/solc",
+  "outputType": "all",
   "compilerOptions": {
+    "outputSelection": {
+      "*": {
+        "*": [ "evm.bytecode.object", "evm.deployedBytecode.object", "abi" , "evm.bytecode.sourceMap", "evm.deployedBytecode.sourceMap" ],
+        "": [ "ast" ]
+      }
+    },
     "evmVersion": "istanbul",
     "optimizer": {
       "enabled": true,
-- 
2.24.1
0xBeaver pushed a commit to 0xBeaver/uniswap-v2-core that referenced this issue Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant