Skip to content

Commit

Permalink
make it fail
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit committed Nov 2, 2023
1 parent 57541f5 commit 14258da
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions sandboxes/with-perps/cannonfile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ options.synthetixPackage = "synthetix:dev"
options.spotMarketPackage = "synthetix-spot-market:dev"
options.synthetixPreset = "<%= settings.targetPreset %>"
options.spotMarketPreset = "<%= settings.targetPreset %>"
depends = ["provision.spot_factory"]

[invoke.permit_owner_to_register_markets]
target = ["synthetix.CoreProxy"]
Expand Down Expand Up @@ -496,14 +495,12 @@ fromCall.args = ["<%= extras.spartan_council_pool_id %>"]
func = "setPoolConfiguration"
args = [
"<%= extras.spartan_council_pool_id %>",
[]
# TODO: for some reason all of these markets fail here with "Market does not exist" error. Need to figure it out
#[
# { marketId = "<%= extras.synth_box_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
# { marketId = "<%= extras.synth_btc_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
# { marketId = "<%= extras.synth_eth_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
# { marketId = "<%= imports.perps_factory.extras.superMarketId %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" }
#]
[
{ marketId = "<%= extras.synth_box_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
{ marketId = "<%= extras.synth_eth_market_id %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" },
{ marketId = "<%= imports.perps_factory.extras.superMarketId %>", weightD18 = 1, maxDebtShareValueD18 = "<%= parseEther('1') %>" }
]
]

#
Expand Down

0 comments on commit 14258da

Please sign in to comment.