Skip to content

Instantly share code, notes, and snippets.

View arthurgousset's full-sized avatar

Arthur Gousset arthurgousset

View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

Adding Celo to Foundry

Context

We'd love Celo to be fully compatible with Foundry out of the box 🙌

@douglasqian kindly pointed us to Github discussion in the Foundry repo discussing how to add non-Ethereum precompiles to Foundry: Decode non-Ethereum precompiles when tracing #1078.

According to @mattsse, they main ask would be a list of all address and function signature pairs (e.g. ()):

TLDR:

  • ⚠️ There is no wrapper in ReleaseGold.sol for the removeAttestationSigner() in Accounts.sol.
  • ASv1 operators using ReleaseGold (mostly cLabs employees) can authorise but not (!) deauthorise their attestation signers

Accounts.sol contract

   /**
 * @notice Authorizes an address to sign attestations on behalf of the account.
@arthurgousset
arthurgousset / bezons-on-customer-obsession-1999.md
Last active August 8, 2022 10:23
Lessons on obsessing about customer experiences.

💡 Lessons from Jeff Bezos on Customer Obsession

🔗 Source: YouTube - Jeff Bezos Customer Obsession 1999

TLDR:

  • Interview from July 13, 1999
  • If there's one thing amazon.com is about its obsessive attention to the customer experience end-to-end and that's what those distributions centers are about.

  • > It doesn't matter to me whether we're a pure internet player. What matters to me is do we provide the best customer service. Internet shminternet, that doesn't matter.

🔍 All-time high gas usage on Celo

TLDR:

  • all-time high gas usage (per day) in recent days
  • mostly driven by arbitrage transactions
  • possibly same individual used 329bn gas in last 3 days

# of gas used per day

💾 New VP of Product @ Uniswap Labs

🔗 Source: Former Coinbase and Instagram director Will Ruben joins Uniswap as VP of product

TLDR:

  • Will Ruben is joining Uniswap Labs as VP of Product
  • Curious if Uniswap Labs might work on products in the mobile app and social discovery space
  • Previously
  • VP of Product @ Coinbase leading teams responsible for web3 and social discovery experiences across Coinbase and Coinbase wallet apps.

💡 Lessons on comparing blockchains' "performance"

🔗 Source: Understanding Blockchain Latency and Throughput

TLDR:

Author argues 2 metrics matter for blockchain systems:

  • latency = amount of time between initiating a transaction or payment and receiving confirmation that it is valid (typically seconds)
    • lower latency (better) in 1 block finality (transaction is finalized once it gets confirmed), e.g. in classical BFT systems (e.g. PBFT, Tendermint, Tusk & Narwhal, etc)
  • higher latency (worse) in longest-chain consensus (transactions may be reorged so wait until a transaction is "k-blocks deep), e.g. in Nakamoto Consensus, Solana/Ethereum PoS.