I am trying to deploy a very simple contract to Sepolia.
Here is the code:
pragma solidity ^0.8.18;
contract Object {
bytes32 private UID;
bytes private Desc;
constructor(bytes32 _UID, bytes memory _Desc) {
UID = _UID;
Desc = _Desc;
}
function getUID() view public returns (bytes32) {
return UID;
}
function getDesc() view public returns (bytes memory) {
return Desc;
}
}
This compiles fine and appears to work, but when I try and deploy it on Remix on Sepolia (or VM) it does not work. No error message, it just does not deploy.
Is there a problem with the code or is it an issue with Remix?
Thanks.