-
i don't know if this issue is relating to this course, or it is just a metamask issue, but metamask is refusing to add the custom WETH token , as instructed in the video in lesson 10 i followed the st…
-
The optimizer can put some things outside of the `startGasReport`/`endGasReport` frame (using `gasReport` modifier doesn't change this).
Usually it's unimportant, especially for costly functions, but…
-
### Description
`.updateOffer()` updates both the `offer.total` property and the `offer.expiresAt` property of an `offer` struct.
However, it writes each of these changes in two separate writes…
ghost updated
6 years ago
-
Develop mechanism to add/list services to blockchain and reference to IPFS
-
- [Low](#low)
- [**1. Mixing and Outdated compiler**](#1-mixing-and-outdated-compiler)
- [**2. Lack of checks**](#2-lack-of-checks)
- [**3. Lack of ACK during owner change**](#3-lack-of-ac…
-
-
### L01:_SAFEMINT() SHOULD BE USED RATHER THAN _MINT() WHEREVER POSSIBLE
#### problem
_mint() is discouraged in favor of _safeMint() which ensures that the recipient is either an EOA or implements IER…
-
1. open https://github.dev/dfinity/motoko-base
2. install the Motoko extension
3. open `src/Char.mo`
4. edit-in a type error
5. observe that no wigglies appear
The other features (like _go to d…
-
## 1. Use a more recent version of solidity
- Use a solidity version of at least 0.8.2 to get compiler automatic inlining
- Use a solidity version of at least 0.8.3 to get better struct packing and c…
-
# Use constants
Use constant instead of storage for:
- `UPDATE_TIME` in [NibblVaultFactoryData.sol#L6](https://github.com/code-423n4/2022-06-nibbl/blob/71b639f977c0351c9928dd3b78eaa4bebb738bc1/contr…