Skip to content
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

OpenZeppelin Truffle Upgrades plugin doesn't work #129

Closed
rubo opened this issue Nov 12, 2021 · 3 comments
Closed

OpenZeppelin Truffle Upgrades plugin doesn't work #129

rubo opened this issue Nov 12, 2021 · 3 comments

Comments

@rubo
Copy link

rubo commented Nov 12, 2021

Currently, the Truffle Upgrades plugin doesn't work with TronBox and that turns the maintaining upgradable contracts on Tron into a nightmare. As the plugin requires Truffle v5.1.35 or later, l presume the problem could be in some old code in TronBox.

Any plans on support or recommendations on how to deal with this?

@llwslc
Copy link
Contributor

llwslc commented Nov 15, 2021

Ok, we will check this problem. We will fix it as soon as possible or find other solutions.

@rubo
Copy link
Author

rubo commented Nov 15, 2021

Thanks, @llwslc.
One more question regarding Truffle compatibility. It would be super helpful to have supported the methods at() and new() for a contract artifact. The support of these methods has already been requested long ago here and here but it's pity we still don't have it. Currently, we have to use TronWeb if we want to interact with an already deployed contract but that requires too much code compared to the convenience of interacting with a contract artifact.
I think the support of these methods will come together with the fix of this issue as I noticed that OpenZeppelin's Upgrades plugin uses the new() method internally.

@llwslc
Copy link
Contributor

llwslc commented Dec 13, 2021

After our hard work, we can't make the plugins work on Tronbox. Truffle and plugins are highly coupled.

Currently requires manual deployment of proxy contracts.

Tron is currently working on compatibility with the ETH jsonrpc api, which will make it easier for us to use these tools in the future.

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

No branches or pull requests

2 participants