Skip to content

Instantly share code, notes, and snippets.

View fmhall's full-sized avatar
🎯
Focusing

Mason Hall fmhall

🎯
Focusing
View GitHub Profile
// I had been intending for people to just play around with this for fun and for personal use,
// but I've been advised to remove the first portion due to regulatory uncertainty.
// This way people can still use the merge check however they want.
/** @notice Determine whether we're running in Proof of Work or Proof of Stake
@dev Post-merge, the DIFFICULTY opcode gets renamed to PREVRANDAO,
and stores the prevRandao field from the beacon chain state if EIP-4399 is finalized.
If not the difficulty must be be 0 according to EIP-3675, so both possibilities are checked here. */
function haveWeMergedYet() public view returns (bool) {
@fmhall
fmhall / aptos-oidb-zk-ceremony_attestation.log
Created February 27, 2024 19:18
Attestation for aptos-oidb-zk-ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm fmhall-11855252 and I have contributed to the aptos-oidb-zk-ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 116
Contribution Hash: 20839935 3b564f8d 09ad5f68 a0ade2e8
50451a41 e4d82ec8 ffedab6f 7999f1b1
0e85234b 86e3b5bb e5cf8211 55a03862
e03d137b c2fc01da 62b9d5d9 c2473078