8000 feat/cosmetic: Move Proxy Contracts around by bowd · Pull Request #498 · mento-protocol/mento-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat/cosmetic: Move Proxy Contracts around #498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

bowd
Copy link
Contributor
@bowd bowd commented Aug 19, 2024

Description

When we restructured the repo a while ago I moved the proxy contracts to the legacy folder thinking that we might not deploy named proxies in the future, and maybe upgrade to a more modern Proxy implementation, but we have continued to add the proxies inside the legacy folder which doesn't feel great as that folder is meant to be removed (and probably can be at this point).

So in order to embrace what we're doing I propose collocating the proxy contracts to the contracts/tokens directory. And as an addition to that, I propose collocating all proxies with their contracts like Martin also did in the contracts/oracles for the new ChainlinkRelayerFactory contract and proxy. So I also moved around the proxies in contracts/proxies.

This shouldn't really effect anything else.

Other changes

  • Renamed stabletokenPSO to stabletokenPHP

Tested

Ran tests, all is well.

Related issues

N/A

Backwards compatibility

YES

Documentation

N/A

@bayological bayological requested review from a team, RyRy79261, denviljclarke and bayological and removed request for a team, RyRy79261 and denviljclarke August 19, 2024 19:35
Copy link
Member
@bayological bayological left a comment

Choose a reason for hiding this comment

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

On the fence about having the proxies next to the implementation. I think this would make more sense for the interfaces than proxies since there's never much need to refer back to the proxies, so locating them easily doesn't seem like a problem. On the other hand, we don't have many so not much overcrowding in the folder.

@denviljclarke denviljclarke merged commit 7f9f7b9 into develop Aug 21, 2024
4 of 5 checks passed
@denviljclarke denviljclarke deleted the feat/cleanup-proxies branch August 21, 2024 10:29
bowd added a commit that referenced this pull request Aug 26, 2024
### Description

When we restructured the repo a while ago I moved the proxy contracts to
the legacy folder thinking that we might not deploy named proxies in the
future, and maybe upgrade to a more modern Proxy implementation, but we
have continued to add the proxies inside the `legacy` folder which
doesn't feel great as that folder is meant to be removed (and probably
can be at this point).

So in order to embrace what we're doing I propose collocating the proxy
contracts to the `contracts/tokens` directory. And as an addition to
that, I propose collocating all proxies with their contracts like Martin
also did in the `contracts/oracles` for the new ChainlinkRelayerFactory
contract and proxy. So I also moved around the proxies in
`contracts/proxies`.

This shouldn't really effect anything else.

### Other changes

- Renamed stabletokenPSO to stabletokenPHP

### Tested

Ran tests, all is well.

### Related issues

N/A

### Backwards compatibility

YES

### Documentation

N/A

---------

Co-authored-by: Bayological <6872903+bayological@users.noreply.github.com>
Co-authored-by: denviljclarke <60730266+denviljclarke@users.noreply.github.com>
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.

4 participants
0