Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1.4 KB

solc-updates.md

File metadata and controls

24 lines (23 loc) · 1.4 KB

solc updates

  1. update dapphub/nixpkgs:master to nixos/nixpkgs:master
  2. create a new branch (solc-X.Y.Z) from dapphub/nixpkgs:master
    1. in pkgs/development/compilers/solc/default.nix
      1. set version to X.Y.Z
      2. update rev and sha256 based on the output from nix-prefetch-git [email protected]:ethereum/solidity.git vX.Y.Z
    2. check the build by running nix-build -A solc from the repo root
    3. tweak as needed to get the build passing
    4. install the new version of solc into your local env (nix-env -f . -iA solc) and run a few tests to make sure everything is OK.
    5. commit the changes
  3. create a new branch (solc-X.Y.Z) in dapphub/dapptools
    1. in nix/solc-versions.nix
      1. add a new solc_X.Y.Z in the unreleased section
      2. update rev and sha256 based on the output from nix-prefetch-git [email protected]:dapphub/nixpkgs refs/heads/solc-X.Y.Z
    2. bump the version number in dapp---version, src/dapp/default.nix and the changelog
    3. commit the changes
  4. open a pr from dapphub/dapptools:solc-X.Y.Z to dapphub/dapptools:master
  5. once merged tag the commit with the new version number
  6. open a pr from dapphub/nixpkgs:solc-X.Y.Z to nixos/nixpkgs:master
  7. once merged make a new PR in dapphub/dapptools moving the solc_X.Y.Z from the unreleased to the common section in solc-versions.nix