Alexander John Lee
Alexander John Lee
sudo pip3 install pyngrok
quick and dirty way with python: `$ npx hardhat flatten contracts/bank.sol > contracts/flatten.sol` ``` import os bad_words = ['SPDX', 'pragma'] with open('/home/ubuntu/Desktop/defiBank/contracts/flatten.sol') as oldfile, open('/home/ubuntu/Desktop/defiBank/contracts/flat.sol', 'w') as newfile: for line...
quick and dirty way with python: `$ npx hardhat flatten contracts/bank.sol > contracts/flatten.sol` ``` import os bad_words = ['SPDX', 'pragma'] with open('/home/ubuntu/Desktop/defiBank/contracts/flatten.sol') as oldfile, open('/home/ubuntu/Desktop/defiBank/contracts/flat.sol', 'w') as newfile: for line...
data.append was deprecated. should merge
I agree. imho it would be nice as a statically typed language. Since it is written in rust, I think it would be cool if the language had the same...
I am running `fib.bend` with ```bend run fib.bend``` and ```bend run-c fib.bend```
> Your fibonacci function creates a tree of addition operators of size ~2^n. It fails at large numbers because you run out of memory (maximum of 2^29 nodes at once)...
The issue goes away when you run `cargo clean`
Looking through the documentation again, I noticed this: "[The predicate root] 'is the Merkle root of [the binary Merkle tree](https://github.com/FuelLabs/fuel-specs/blob/master/src/protocol/cryptographic-primitives.md#binary-merkle-tree) *each leaf being 16KiB of instructions.*'" https://github.com/FuelLabs/fuel-specs/blob/master/src/identifiers/predicate-id.md However, it seems...