I am trying to do a small example contract of
Error deploying required libraries: Invalid bytecode format.
Here is the contract code
library CounterLib {
struct Counter {
uint i;
}
function incremented(Counter storage self) returns (uint) {
return ++self.i;
}
}
contract CounterContract {
using CounterLib for CounterLib.Counter;
CounterLib.Counter counter;
function increment() returns (uint) {
return counter.incremented();
}
}
pragma solidity ^0.4.*;
where * is a version number, at the top of your Solidity file?