v1rtl

Results 452 comments of v1rtl

@seanyoung It still errors: ```sh $ env TARGET_CFLAGS=--sysroot=wasi-sysroot.. TARGET_CXXFLAGS=--sysroot=wasi-sysroot cargo build --target wasm32-wasi --release ``` ```rust Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#d018ee22) Compiling solang v0.1.8 (/home/v1rtl/Coding/forks/solang) The following warnings were emitted during...

@seanyoung oops sorry I found out the location of `sysroot` it was in `/opt/wasi-sdk` but now I get this: ```sh ➜ echo $WASI_SDK_PATH /opt/wasi-sdk/wasi-sysroot ➜ env TARGET_CFLAGS=--sysroot=$WASI_SDK_PATH TARGET_CXXFLAGS=--sysroot=$WASI_SDK_PATH cargo build...

@seanyoung do you know how to do that? I have both emscripten, llvm and wasi-sdk installed. I also have `wasm-ld`

Still happens with ```json "solidity.packageDefaultDependenciesContractsDirectory": "", "solidity.packageDefaultDependenciesDirectory": "node_modules" ``` ![image](https://user-images.githubusercontent.com/35937217/126895943-6c1793ad-ffa1-4b92-9c6f-cd2fc81f7cd0.png)

@juanfranblanco my node_modules is in the root. I tried with pnpm, npm and yarn. None worked :(

@juanfranblanco nope I have them set globally and have no `.vscode` folder in my project. if this helps, this is my contract code: ```solidity // SPDX-License-Identifier: MIT pragma solidity ^0.8.5;...

@juanfranblanco thanks, testing right now could the issue be that my contracts in the `contracts` folder? maybe bc of this?

@juanfranblanco i found it out. it didn't work when i have it in a workspace with multiple projects. when opening directly it works. but it should work for multiple projects...

Is it possible to replace `keccak` with [node-sha3](https://github.com/phusion/node-sha3)? Currently wallet sdk breaks on `pnpm` installations because of the keccak module.