# Verify and publish issue for 0.5.0 contracts

**URL:** <https://forum.openzeppelin.com/t/verify-and-publish-issue-for-0-5-0-contracts/39797>\
**Category:** Smart Contracts\
**Tags:** etherscan-verify\
**Created:** [March 7, 2024, 1:09pm UTC](https://forum.openzeppelin.com/t/verify-and-publish-issue-for-0-5-0-contracts/39797 "2024-03-07T13:09:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonefloater](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/tonefloater/32/22245_2.png) [@tonefloater](https://forum.openzeppelin.com/u/tonefloater)\
**Post date:** [March 7, 2024, 1:09pm UTC](https://forum.openzeppelin.com/t/verify-and-publish-issue-for-0-5-0-contracts/39797/1 "2024-03-07T13:09:01Z")

</div>

Dear all,

First of all, just wanted to note I went through all the topics/guides in relation to this issue and having no remedy, I decided to post. So please excuse, I know there are tons of topics on this matter.

I'm trying to verify and publish some historic 0.5.0 smart contracts .

The steps I've gone through;  
Initially having imports such as below and in need of now defunct contracts like ERC721Full.sol I went to my old node install [node\_modules folder] and gathered all the imports.  
`import "openzeppelin-solidity/contracts/ownership/Ownable.sol";`  
Then changed the imports following a structure like;  
`import "./Ownable.sol";`

It ended up being 32 contracts, including the original smart contracts I've written and the dependencies.

Yet, being so hopeful it'd work after all this, I'm getting \>  
`But we were unable to locate a matching bytecode (err_code_2)`

So, my enquiry is; is any of the steps I've done to fix the import errors might be causing this or should I look elsewhere? I'm 100% these are the right contracts I've using in deployment, the solidity version and all are accurate.

Any help would be greatly appreciated, thanks so much!

---

<div class="post-metadata">

**Author:** ![tonefloater](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/tonefloater/32/22245_2.png) [@tonefloater](https://forum.openzeppelin.com/u/tonefloater)\
**Post date:** [March 8, 2024, 6:49pm UTC](https://forum.openzeppelin.com/t/verify-and-publish-issue-for-0-5-0-contracts/39797/2 "2024-03-08T18:49:13Z")

</div>

Any tips would be greatly appreciated 🤓
