Commit Graph

  • 7b16841534 Change test token to allow arbitrary minting Mark Spanbroek 2021-11-16 14:25:42 +0100
  • 9b957b9663 Add hardhat-deploy-ethers plugin Mark Spanbroek 2021-11-16 14:06:37 +0100
  • ce4760608b Add deployment scripts for TestToken and Storage Mark Spanbroek 2021-11-16 13:54:38 +0100
  • 3431f77c82 Add hardhat-deploy plugin Mark Spanbroek 2021-11-16 10:44:13 +0100
  • 14fb5b35ad Add `npm start` to start development node Mark Spanbroek 2021-11-16 16:15:11 +0100
  • 1e3a1b113b Use deployment fixture for Storage contract tests Mark Spanbroek 2021-11-16 14:26:28 +0100
  • 85ed53c37a Change test token to allow arbitrary minting Mark Spanbroek 2021-11-16 14:25:42 +0100
  • 3b0d447262 Add hardhat-deploy-ethers plugin Mark Spanbroek 2021-11-16 14:06:37 +0100
  • 3772975745 Add deployment scripts for TestToken and Storage Mark Spanbroek 2021-11-16 13:54:38 +0100
  • 40ea854c09 Add hardhat-deploy plugin Mark Spanbroek 2021-11-16 10:44:13 +0100
  • f499b8453d Add Readme Mark Spanbroek 2021-11-08 16:07:43 +0100
  • 0c0ee0fad6 MIT license Mark Spanbroek 2021-11-08 16:03:32 +0100
  • 2277fd1366 Add TODO Mark Spanbroek 2021-11-04 14:28:02 +0100
  • 8bb8441bce Slash host stake when too many proofs are missing Mark Spanbroek 2021-11-04 14:19:58 +0100
  • 50bab88447 Allow slashing of stake Mark Spanbroek 2021-11-04 13:16:11 +0100
  • 38fee6d83a Pay host when contract is finished Mark Spanbroek 2021-11-04 11:55:47 +0100
  • d2a3cc4a89 Client pays price when creating contract Mark Spanbroek 2021-11-04 11:40:03 +0100
  • afad0e49ec Mint test tokens for both client and host Mark Spanbroek 2021-11-04 11:32:21 +0100
  • 54cc2987df Ensure that finishing a contract can only be done once Mark Spanbroek 2021-11-04 11:18:05 +0100
  • 8fbb99630c Ensure that starting a contract can only be done once Mark Spanbroek 2021-11-04 10:23:00 +0100
  • aa673ff71c Unlock host stake at end of contract Mark Spanbroek 2021-11-04 10:19:23 +0100
  • d0a22afc3d Extract mining test helpers to separate module Mark Spanbroek 2021-11-04 10:18:09 +0100
  • 6de82709ca Only host can call start on a contract Mark Spanbroek 2021-11-04 09:53:01 +0100
  • 376962322d Only expect proofs when the contract is started Mark Spanbroek 2021-11-04 09:49:07 +0100
  • 7bb949a5cc Wording Mark Spanbroek 2021-11-03 17:20:33 +0100
  • b865d0f4c9 Decrease chance of incidental test failure Mark Spanbroek 2021-11-03 17:15:24 +0100
  • c0fb0c725c Do not require proofs before start of contract Mark Spanbroek 2021-11-03 17:15:03 +0100
  • 8efa9fe162 Stop requiring proofs when contract has ended Mark Spanbroek 2021-11-03 17:02:12 +0100
  • 2784800c3e Add end time to proofs based on contract duration Mark Spanbroek 2021-11-03 13:24:50 +0100
  • 3326c4fe74 Make isProofRequired() work for the current block Mark Spanbroek 2021-11-03 13:18:08 +0100
  • e7f3dc3dae Define contract duration in number of blocks Mark Spanbroek 2021-11-03 11:10:42 +0100
  • 65c3cacb66 Host stake is locked up when contract is created Mark Spanbroek 2021-11-02 12:50:06 +0100
  • d49c75a74b Make amount of stake configurable Mark Spanbroek 2021-11-02 12:45:09 +0100
  • 8736e5a1aa Host has to put up stake before entering into a contract Mark Spanbroek 2021-11-02 11:19:52 +0100
  • 3b6ec4126d Fix comments Mark Spanbroek 2021-11-02 09:46:15 +0100
  • 5eb571fe1c Use 'request' and 'bid' objects in tests Mark Spanbroek 2021-11-02 09:45:49 +0100
  • a5e05018ad Move example values for tests into separate file Mark Spanbroek 2021-11-02 09:04:51 +0100
  • 7b6c6c2fc5 Rename: StorageContracts -> Storage Mark Spanbroek 2021-11-01 16:34:01 +0100
  • eefa23ff02 Change parameter order Mark Spanbroek 2021-11-01 16:23:37 +0100
  • 650f5d1f1a Checking of new storage contracts is moved to Contracts.sol Mark Spanbroek 2021-11-01 16:17:42 +0100
  • aa0def1127 Move timeout validity check to Proofs contract Mark Spanbroek 2021-11-01 15:28:22 +0100
  • d5dede6e6b Change visibility of stake functions to 'internal' Mark Spanbroek 2021-11-01 15:17:19 +0100
  • d1f5ce0786 Extract logic around proofs into separate contract Mark Spanbroek 2021-11-01 12:30:35 +0100
  • c013a37229 Add contract for keeping track of stakes in ERC20 tokens Mark Spanbroek 2021-10-21 14:06:30 +0200
  • 23887f9190 Do not mark proof as missing twice Mark Spanbroek 2021-10-21 10:32:29 +0200
  • c3e85c675a Use bid hash as contract id Mark Spanbroek 2021-10-20 14:28:05 +0200
  • 08cedae4bf Multiple storage contracts in solidity contract Mark Spanbroek 2021-10-20 12:07:35 +0200
  • d005bf7c3c Rename StorageContract -> StorageContracts Mark Spanbroek 2021-10-20 09:04:03 +0200
  • 4913edb6ce Allow anyone to mark missing proofs Mark Spanbroek 2021-10-19 09:37:03 +0200
  • 973b70734f Make test less dependent on exact timing of block timestamp Mark Spanbroek 2021-10-18 16:20:30 +0200
  • 47f0746f06 Add expiration time to bids Mark Spanbroek 2021-10-18 15:29:58 +0200
  • 71efdd36c7 Add (dummy) proof submission Mark Spanbroek 2021-10-18 14:55:59 +0200
  • 01e18ee494 Add continuous integration Mark Spanbroek 2021-10-14 14:54:43 +0200
  • 04b2a31f74 Add hash of data that is to be stored to the contract Mark Spanbroek 2021-10-14 14:49:29 +0200
  • 23a4b84816 Add proof period and timeout to request for storage Mark Spanbroek 2021-10-14 14:01:28 +0200
  • cbf34df013 Require proofs on average once every proof period Mark Spanbroek 2021-10-14 12:37:14 +0200
  • 550fcf4afe Add proof period and timeout to contract Mark Spanbroek 2021-10-14 09:10:57 +0200
  • 31807dfe58 Add TODO's as suggested by Tanguy Mark Spanbroek 2021-10-13 10:21:03 +0200
  • 6ef71f0419 Introduces StorageContract Mark Spanbroek 2021-10-12 16:59:34 +0200
  • 545ed4b011 Add OpenZeppelin contracts Mark Spanbroek 2021-10-12 13:35:41 +0200
  • 44433926bf Hardhat setup Mark Spanbroek 2021-10-12 08:35:24 +0200