Skip to content

Commit

Permalink
fix CI via ir (#325)
Browse files Browse the repository at this point in the history
* test

* make change to server

* add optimizier settings to permit2
  • Loading branch information
anihamde authored Jan 13, 2025
1 parent d14c7a0 commit 370fe47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion auction-server/src/opportunity/service/get_quote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl Service<ChainTypeSvm> {
ProgramSvm::SwapKamino => {
entities::OpportunitySvmProgram::SwapKamino(entities::OpportunitySvmProgramSwap {
user_wallet_address: quote_create.user_wallet_address,
// TODO*: we should eventually determine this more intelligently
// TODO*: we should determine this more intelligently
fee_token: entities::FeeToken::InputToken,
referral_fee_bps: quote_create.referral_fee_bps,
})
Expand Down
6 changes: 6 additions & 0 deletions contracts/evm/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ out = "out"
libs = ["lib"]
fs_permissions = [{ access = "read-write", path = "./"}]
solc = "0.8.20"
optimizer = true
optimizer_runs = 200
via_ir = true

[profile.permit2]
src = "permit2"
solc = "0.8.17"
test = "permit2"
script ="permit2"
optimizer = true
optimizer_runs = 200
via_ir = true

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 comments on commit 370fe47

Please sign in to comment.