Skip to content

Conversation

@barbel840113
Copy link
Contributor

No description provided.

Copy link
Contributor

@DrPresident DrPresident left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we format these files? there are alot of instances of 2-5 newlines in a row, as well as trailing newlines on files. We use this rustfmt.toml in the shade repo

# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md

# Stable configurations
edition = "2018"
max_width = 100
merge_derives = true
use_field_init_shorthand = true
use_try_shorthand = true

# Nightly configurations
imports_layout = "HorizontalVertical"
imports_granularity = "Crate"
overflow_delimited_expr = true
reorder_impl_items = true
version = "Two"

Comment on lines +163 to +167
let _response = router.execute_contract(
owner_addr.to_owned(),
&router_contract,
&execute_swap,
&[]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be verifying the results of these swaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants