Skip to content

Commit 4d55e0a

Browse files
committed
resolved merge conflict & fixed warnings
1 parent b07256a commit 4d55e0a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

crates/contracts/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use {
1111
mod paths;
1212

1313
const MAINNET: &str = "1";
14+
const GOERLI: &str = "5";
1415
const OPTIMISM: &str = "10";
1516
const BNB: &str = "56";
1617
const GNOSIS: &str = "100";

crates/shared/src/sources/balancer_v2/swap/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ impl BaselineSolvable for GyroEPoolRef<'_> {
755755
}
756756

757757
impl GyroEPool {
758-
fn as_pool_ref(&self) -> GyroEPoolRef {
758+
fn as_pool_ref(&self) -> GyroEPoolRef<'_> {
759759
GyroEPoolRef {
760760
reserves: &self.reserves,
761761
swap_fee: self.common.swap_fee,

crates/shared/src/sources/balancer_v3/swap/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ fn converge_in_amount(
435435
}
436436

437437
impl WeightedPool {
438-
fn as_pool_ref(&self) -> WeightedPoolRef {
438+
fn as_pool_ref(&self) -> WeightedPoolRef<'_> {
439439
WeightedPoolRef {
440440
reserves: &self.reserves,
441441
swap_fee: self.common.swap_fee,
@@ -459,7 +459,7 @@ impl BaselineSolvable for WeightedPool {
459459
}
460460

461461
impl StablePool {
462-
fn as_pool_ref(&self) -> StablePoolRef {
462+
fn as_pool_ref(&self) -> StablePoolRef<'_> {
463463
StablePoolRef {
464464
address: self.common.address,
465465
reserves: &self.reserves,
@@ -745,7 +745,7 @@ impl BaselineSolvable for GyroEPoolRef<'_> {
745745
}
746746

747747
impl GyroEPool {
748-
fn as_pool_ref(&self) -> GyroEPoolRef {
748+
fn as_pool_ref(&self) -> GyroEPoolRef<'_> {
749749
GyroEPoolRef {
750750
reserves: &self.reserves,
751751
swap_fee: self.common.swap_fee,

0 commit comments

Comments
 (0)