File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- all :; SOLC_FLAGS="--optimize --optimize-runs 1000" dapp --use solc:0.6.11 build
1
+ all :; DAPP_BUILD_OPTIMIZE=1 DAPP_BUILD_OPTIMIZE_RUNS= 1000 dapp --use solc:0.6.12 build
2
2
clean :; dapp clean
3
3
test :; ./test.sh
4
- deploy :; dapp create MegaPoker
4
+ deploy :; make && dapp create MegaPoker
Original file line number Diff line number Diff line change 5
5
} : with dappPkgs ;
6
6
7
7
mkShell {
8
- DAPP_SOLC = solc-static-versions . solc_0_6_11 + "/bin/solc-0.6.11 " ;
8
+ DAPP_SOLC = solc-static-versions . solc_0_6_12 + "/bin/solc-0.6.12 " ;
9
9
SOLC_FLAGS = "--optimize --optimize-runs=1000" ;
10
10
buildInputs = [
11
11
dapp
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ contract MegaPoker {
78
78
if ( univ2unieth.pass ()) univ2unieth.poke ();
79
79
if (univ2wbtcdai.pass ()) univ2wbtcdai.poke ();
80
80
if (univ2aaveeth.pass ()) univ2aaveeth.poke ();
81
+ if (univ2daiusdt.pass ()) univ2daiusdt.poke ();
81
82
82
83
spot.poke ("ETH-A " );
83
84
spot.poke ("BAT-A " );
@@ -104,14 +105,13 @@ contract MegaPoker {
104
105
spot.poke ("UNIV2UNIETH-A " );
105
106
spot.poke ("UNIV2WBTCDAI-A " );
106
107
spot.poke ("UNIV2AAVEETH-A " );
108
+ spot.poke ("UNIV2DAIUSDT-A " );
107
109
}
108
110
109
111
function poke () external {
110
112
process ();
111
113
112
- if (univ2daiusdt.pass ()) univ2daiusdt.poke ();
113
-
114
- spot.poke ("UNIV2DAIUSDT-A " );
114
+ spot.poke ("ETH-C " );
115
115
}
116
116
117
117
// Use for poking OSMs prior to collateral being added
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ interface Hevm {
54
54
}
55
55
56
56
contract MegaPokerTest is DSTest {
57
- SpellLike constant spell = SpellLike (0x969b3701A17391f2906d8c5E5D816aBcD9D0f199 );
57
+ SpellLike constant spell = SpellLike (0x4145774D007C88392118f32E2c31686faCc9486E );
58
58
SpellLike constant prevSpell = SpellLike (address (0 ));
59
59
60
60
ChainLogLike constant changelog = ChainLogLike (0xdA0Ab1e0017DEbCd72Be8599041a2aa3bA7e740F );
Original file line number Diff line number Diff line change 3
3
4
4
[[ " $ETH_RPC_URL " && " $( seth chain) " == " ethlive" ]] || { echo " Please set a mainnet ETH_RPC_URL" ; exit 1; }
5
5
6
- DAPP_BUILD_OPTIMIZE=1 DAPP_BUILD_OPTIMIZE_RUNS=1000 dapp --use solc:0.6.11 test --rpc-url=" $ETH_RPC_URL " -v
6
+ DAPP_BUILD_OPTIMIZE=1 DAPP_BUILD_OPTIMIZE_RUNS=1000 dapp --use solc:0.6.12 test --rpc-url=" $ETH_RPC_URL " -v
You can’t perform that action at this time.
0 commit comments