Skip to content

Commit

Permalink
Bump version, fix #44, fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Oct 29, 2018
1 parent 8ee56e9 commit c3d10a6
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions contracts/robonomics/LiabilityFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ contract LiabilityFactory is SingletonHash {
returns (address lighthouse)
{
bytes32 lighthouseNode
// lighthouse.2.robonomics.eth
= 0xa058d6058d5ec525aa555c572720908a8d6ea6e2781b460bdecb2abf8bf56d4c;
// lighthouse.3.robonomics.eth
= 0x87bd923a85f096b00a4a347fb56cef68e95319b3d9dae1dff59259db094afd02;

// Name reservation check
bytes32 subnode = keccak256(abi.encodePacked(lighthouseNode, keccak256(_name)));
Expand Down
2 changes: 1 addition & 1 deletion contracts/robonomics/XRT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol';
import 'openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol';

contract XRT is ERC20Mintable, ERC20Burnable, ERC20Detailed {
constructor() public ERC20Detailed("XRT", "Robonomics Beta", 9) {
constructor() public ERC20Detailed("Robonomics Beta 3", "XRT", 9) {
uint256 INITIAL_SUPPLY = 1000 * (10 ** 9);
_mint(msg.sender, INITIAL_SUPPLY);
}
Expand Down
2 changes: 1 addition & 1 deletion migrations/5_robonomics_names.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ENS = artifacts.require("ENS");
const namehash = require('eth-ens-namehash').hash;
const sha3 = require('web3-utils').sha3;

const robonomicsGen = "2";
const robonomicsGen = "3";
const robonomicsRoot = robonomicsGen+".robonomics.eth";

function regNames(deployer, ens, accounts) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "robonomics_contracts",
"version": "0.11.0",
"version": "0.12.0",
"homepage": "https://github.com/airalab/robonomics_contracts#readme",
"description": "Robonomics platform smart contracts",
"main": "truffle.js",
Expand Down
2 changes: 1 addition & 1 deletion test/0_XRT.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ens = new ethereum_ens(web3, ENS.address);
contract("XRT", () => {

it("should be resolved via ENS", async () => {
const addr = await ens.resolver("xrt.2.robonomics.eth").addr();
const addr = await ens.resolver("xrt.3.robonomics.eth").addr();
assert.equal(addr, XRT.address);
});

Expand Down
2 changes: 1 addition & 1 deletion test/1_DutchAuction.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const initialBalance = 800 * 10**9;
contract("DutchAuction", (accounts) => {

it("should be resolved via ENS", async () => {
const addr = await ens.resolver("auction.2.robonomics.eth").addr();
const addr = await ens.resolver("auction.3.robonomics.eth").addr();
assert.equal(addr, DutchAuction.address);
});

Expand Down
2 changes: 1 addition & 1 deletion test/2_Ambix.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ens = new ethereum_ens(web3, ENS.address);

contract("Ambix", (accounts) => {
it("should be resolved via ENS", async () => {
const addr = await ens.resolver("ambix.2.robonomics.eth").addr();
const addr = await ens.resolver("ambix.3.robonomics.eth").addr();
assert.equal(addr, Ambix.address);
});

Expand Down
2 changes: 1 addition & 1 deletion test/3_LiabilityFactory.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ contract("LiabilityFactory", () => {
const factory = LiabilityFactory.at(LiabilityFactory.address);

it("shoudl be resolved via ENS", async () => {
const addr = await ens.resolver("factory.2.robonomics.eth").addr();
const addr = await ens.resolver("factory.3.robonomics.eth").addr();
assert.equal(addr, LiabilityFactory.address);
});

Expand Down
2 changes: 1 addition & 1 deletion test/4_Lighthouse.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ contract("Lighthouse", (accounts) => {
});

it("should be resolved via ENS", async () => {
const addr = await ens.resolver("test.lighthouse.2.robonomics.eth").addr();
const addr = await ens.resolver("test.lighthouse.3.robonomics.eth").addr();
assert.equal(addr, lighthouse.address);
});

Expand Down

0 comments on commit c3d10a6

Please sign in to comment.