clean up
This commit is contained in:
parent
8b909f55d2
commit
2331ae1f0a
|
@ -2,7 +2,6 @@
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.23;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
||||||
import "./Configuration.sol";
|
|
||||||
import "./Requests.sol";
|
import "./Requests.sol";
|
||||||
|
|
||||||
contract SlotReservations {
|
contract SlotReservations {
|
||||||
|
|
|
@ -15,9 +15,6 @@ const CONFIGURATION = {
|
||||||
// in automine mode, because it can produce a block every second
|
// in automine mode, because it can produce a block every second
|
||||||
downtime: 64,
|
downtime: 64,
|
||||||
downtimeProduct: 67,
|
downtimeProduct: 67,
|
||||||
// saturate addresses eligible to reserve slots 20% of the total time before
|
|
||||||
// expiry
|
|
||||||
saturation: 20
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,6 @@ const exampleConfiguration = () => ({
|
||||||
zkeyHash: "",
|
zkeyHash: "",
|
||||||
downtimeProduct: 67,
|
downtimeProduct: 67,
|
||||||
},
|
},
|
||||||
reservations: {
|
|
||||||
saturation: 20,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const exampleRequest = async () => {
|
const exampleRequest = async () => {
|
||||||
|
|
Loading…
Reference in New Issue