ColonyNetwork Versions Save

Colony Network smart contracts

hmwss

3 months ago

For HMWSS users will be requested to upgrade their colonies to v14.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • Temporarily remove the ability to deprecate skills. This functionality is intended to be reworked and reintroduced at a later date (#1183)
  • Add support for Type 2 transactions to the metatransaction broadcaster and the miner client (#1174, #1192, #1197)
  • Add a flag to ExpenditureCancelled event indicating whether a staked expenditure creator should be punished or not (#1166)
  • Add ExpenditurePayoutClaimed event (#1157)
  • Add StagedExpenditure extension (#1141)
  • Removed global skills (#1173)
  • Removed tasks and payments (#1150)
  • Added strict rules around upgrading Colony and OneTxPayment to ensure front-end users cannot upgrade their colonies in to a state where the extension does not work (#1181)

Fixes

  • Make sure the ExpenditureCancelled event is emitted when expected (#1167)
  • Make sure that VotingReputation handles motions that are multicalls correctly (#1135)
  • setExpenditurePayouts logic corrected when multiple values were used (#1154)
  • Make extension setup more consistent across all extensions (#1155)
  • Improve reliability of metatransaction broadcaster (#1153)
  • Allow colonies deployed through createColonyForFrontend to use locked tokens akin to colonies deployed in the regular fashion (#1184)

Maintenance

  • Make test suite more reliable (#1159, #1156, #1190)
  • Add some additional metatransaction broadcaster tests (#1195)
  • Various package updates (#1180, #1177, #1162, #1161, #1149, #1198, #1199)
  • Documentation for mining (#1114)
  • CircleCI configuration (#1152)
  • Update Solidity (#1151, #1188)
  • Documentation improvements (#1143, #1208)
  • Rename a parameter for clarity (#1185)

glwss4

10 months ago

For Green LWSS 4, users will be requested to upgrade their colonies to v13.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • Explicitly prevent nested multicalls (#1136)

Fixes

  • None

Maintenance

  • Fix a typo (#1116)
  • Add a lot of test scaffolding for supporting cross-chain tests and functionality (#1121)
  • SQLite upgrade for KYC Oracle, Metatransaction broardcaster (#1123)
  • Update contracts to solidity 0.8.20 (#1053, #1125, #1139)
  • Minor gas usage improvements (#1101, #1138)

glwss3

1 year ago

For Green LWSS 3, users will be requested to upgrade their colonies to v12.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • None

Fixes

  • Make the metatransaction broadcaster more robust to responses from gas price API that result in decimal prices for gas (#1112)
  • Make sure that colonies created at v8 have roles that can call functions added in v8 (#1119)

Maintenance

  • Improve codebase to pass newly-added slither detectors (#1113)
  • Package updates (#1115, #1117)

glwss2

1 year ago

For Green LWSS 2, users will be requested to upgrade their colonies to v11, as well as upgrade OneTxPayment and VotingReputation. This is not yet available in the app but will be in the new year. Users are recommended to not upgrade on the contract level until they can do so through the app, otherwise their colony will not be accessible.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • Emit an event when Arbitrary Transactions are used in a colony to interact with another contract (#1104)
  • Add multicall support to the contracts as a whole, which allows a single transaction to make multiple calls on the same contract. This will allow a reduction in gas costs when it is supported by the front-end (#1091)
  • Added nonces to the Token contract that we deploy, so that it is EIP2612 compatable (#1108)
  • Add the ReputationBootstrapping extension which allows people to configure the starting state of reputation in their colony. This is not yet available in the frontend, or deployed. (#1086)

Fixes

  • In order to keep the codebase DRYer, refactored some logic common to extensions (#1061)
  • Fix a missing check on ecrecover used in the Tasks functionality (which is not exposed currently to users of the app) (#1109)
  • Use a better (but not perfect) way to randomise the ordering in each reputation cycle when miners are able to submit states or respond to challenges during a dispute. (#1102)

Maintenance

  • Fix our versioning check script to accommodate the move from yarn to npm (#1098)
  • Package updates (#1105)

glwss

1 year ago

For Green LWSS, users will be requested to upgrade their colonies to v10. VotingReputation will also be available to be updated, enabling 'Simple Decisions'.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • A new Streaming Payments extension is now in the codebase, but not deployed yet pending support in the front-end (#1026, #1096)
  • Added an endpoint to the reputation oracle to allow people to fast-sync their miner (#1066)
  • Added support for a new type of decision that takes no action (#1071, #1090)
  • Added an extension that allows expenditures to be created by a user who stakes tokens. This extension is not yet available (#1045)

Fixes

  • Small improvments to the miner (#1060)
  • Sped up the /noProof endpoint for the reputation oracle (#1073)
  • Fix a bug in CoinMachine extension accounting, though this extension is no longer intended to be used (#1065)
  • Made metatransaction broadcaster more robust to things going wrong (#1072)
  • Made the reputation miner more robust to running out of funds when mining (#1077)
  • Restore checkErrorRevert test helper to functional state (#1094)

Maintenance

  • Repository is prepared for Node 16 (#1043), and now runs on Node 14 (#1070)
  • Repository uses npm and not yarn (#1055, #1087, #1089)
  • Split up contracts as needed due to limits on sizes of a single deployed contract (#1046)
  • Various package upgrades (#1048, #1052, #1076, #1078, #1080)
  • Use a dark-mode-friendly logo in the repository (#1049)
  • Improve pre-commit hooks (#1051)
  • Improve autogenerated documentation (#1054, #1059, #1088)
  • Truffle.js updates to make documentation easier (#1063)
  • Miner updates to make documentation easier (#1079)
  • Spotty test improvements (#1067, #1074, #1092)
  • Removed antiquated ganache-core from the repository (#1075)
  • Dealt with some GitHub overhead in terms of the flwss, flwss2, flwss3 releases which wasn't done at the time of those releases (#1084, #1085)
  • Short-term fixes to deal with new detectors in slither (#1093)
  • Some spelling fixes (#1095)

flwss3

1 year ago

Note: This release was made on the 22nd of August - this is a release on GitHub purely for posterity / keeping everything aligned, and these notes are written as if they were contemporaneous with that release

This is the second of a two-stage release to fix an issue introduced in VotingReputation with the introduction of metatransactions. After the previous version fixed the storage layout to prevent the number of badly-created motions increasing, this version adds a new function that is public (i.e. callable by anyone) that returns 'ghost' stakes to users that were made in motions created with the bad version. The intention is that we (at Colony) will call this function where required once extensions have been upgraded to this version.

Users will be asked to upgrade their VotingReputation extensions to version 6.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Fixes

  • Add public function that allows recovery of 'ghost' stakes in VotingReputation (#1082)

flwss2

1 year ago

Note: This release was made on the 19th of August - this is a release on GitHub purely for posterity / keeping everything aligned, and these notes are written as if they were contemporaneous with that release

This is the first of a two-stage release to fix an issue introduced in VotingReputation with the introduction of metatransactions. A second release will follow shortly to undo the issues created by the error. Users will be asked to upgrade their VotingReputation extensions to version 5.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Fixes

  • Reverts the incorrect storage layout changes to VotingReputation (#1081)

flwss

2 years ago

For Fuchsia LWSS, users will be requested to upgrade their colonies to v9, but for now the improvements are behind-the-scenes if you're using the dapp.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • Adds support for metatransactions (#962, #976)
  • (Non-contract) Improve performance of the reputation miner in many respects (#985, #996, #997, #1014, #1015, #1021, #1025)
  • Allow domains to be deprecated (#983)
  • Add the concept of 'local skills' to a colony - the same as global skills, that e.g. an expenditure can be tagged with to award reputation in, but exist only for a single colony (#986)
  • Emit some extra events to make front-end lives easier (#1022)
  • Add a new function that will be used by the frontend to allow proposals to be made that affect colony metadata blobs without overwriting changes made while the proposal went through its lifecycle (#1033)

Fixes

  • Adjust eligibility in reputation mining submissions so that every miner has at least ten minutes to defend a submission before it can be invalidated (#1030)
  • Add some events to Coinmachine to make development of the interface easier (#1022)

Maintenance

  • Tweak version check scripts as we bed them in (#994, #998)
  • Add a new script useful for developing against reputation (#1037)
  • Improve our test suite speed (#999)
  • Update versions of various libraries in the repository (#1012, #1017, #1018, #1019, #1023, #1029, #1038)

elwss3

2 years ago

Hopefully the last of the elwss releases, this release can once again be considered a 'patch' release. Users do not need to upgrade their colonies or extensions.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remains unchanged, but we recommend is no longer used.

Functionality

  • Adds support for 'delegated mining' (#1011)

Fixes

  • Correct and subsequently use internal bookkeeping on Colony Network regarding mining (#1016)
  • Fix a bug in CoinMachine to do with partial refunds when the chain's native token is used in a sale (#1008). This goes to v4, though an instance labelled v4 is not yet deployed for public use. v3 (which is currently available) contains this fix (which was able to be patched in after deployment).

Maintenance

  • Accommodate updates to the colonyToken repository in our tests etc. (#1007)

elwss2

2 years ago

This release can be considered a 'patch' release. There is only one (minor) change, to an extension (CoinMachine) that is not yet in use by the public, which goes from v2 to v3.

The xDai ColonyNetwork remains at:

xdai: 0x78163f593D1Fa151B4B7cacD146586aD2b686294

The mainnet address for the Network contract remain unchanged:

mainnet: 0x5346D0f80e2816FaD329F2c140c870ffc3c3E2Ef

This continues to remain at v4 for now.

Functionality

  • Change how CoinMachine per-user sales limits are enforced (#1005)