Coding Journey: Personal log

The older I get the more I learn I don’t know. This is my personal log of things I pick up each day.

How to write a commit message

https://chris.beams.io/posts/git-commit/

How to sync your fork with the original repo

Learning Git

Pro Git book (open source):
https://git-scm.com/book/en/v2

I used to use SVN and am still learning how to use Git beyond the basics.

Multifile verification

Multifile verification on Etherscan is awesome and really straightforward with: https://github.com/nomiclabs/buidler/tree/development/packages/buidler-etherscan

OpenZeppelin Test Helpers in a Truffle console

I hadn’t tried this until a community member asked: Time manipulation in truffle console

$ npx truffle console
truffle(development)> const {time} = require('@openzeppelin/test-helpers');
undefined
truffle(development)> (await time.latest()).toString()
'1600151667'
truffle(development)> await time.increase(time.duration.minutes(2));
undefined
truffle(development)> await time.advanceBlock()
{ id: 1600151532744, jsonrpc: '2.0', result: '0x0' }
truffle(development)> (await time.latest()).toString()
'1600151892'

Crypto Trends

I have been writing Crypto Trends for nearly six months.
Writing is hard so it has been great to do this on a weekly basis.
https://forum.openzeppelin.com/tag/crypto-trends

Starting out

One of my friends is starting out in the space.

I recommended that they subscribe to Week in Ethereum News.
Read Crypto Trends.

Watch Webinar Series: Introduction to Backrunning.

Sign up for: EthOnline.

They should also play Ethernaut.
Read Audits: https://blog.openzeppelin.com/security-audits/

If they haven’t already, create a GitHub account (version control) and a Twitter account (for Crypto Twitter). Ideally with the same username and profile pic. My preference is that the username is based on your name and that the profile pic shows your face (even if it is stylized). I use @abcoathup everywhere (github.com/abcoathup, twitter.com/abcoathup and of course the forum.)

Anything else you would recommend?

Emoji

I :heart: using Emoji in social media posts.

I search for the best Emoji to use with emojipedia:

Job hunting

A friend is wanting to get into the space. I sent them the following wiki post I wrote:

PS OpenZeppelin are hiring: https://openzeppelin.com/jobs/

Internet

Pretty much everything I do in my role requires the internet.

Currently our 5G internet is down whilst they work on the mobile tower. Our mobile phones are with the same company, so we can’t use those either.

Normally I would go to a library or a cafe but Covid lockdown means they are all closed.

Instead I am using an old phone with a long life data sim on a separate (premium) network to keep the lights on.

Verification

I am really keen on multi-file verification. Flattening strips imports, strips license identifiers and is overall harder to read, identify and reproduce.

I have been using Builder Etherscan plugin but ran into the following issue:

For verification, until this is fixed I need to clean out any contracts and artifacts that I don’t want included in the verification.