Skip to content

Commit

Permalink
fix: record コントラクトアドレスを修正しました (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Keisuke Ishigami <ishigami_keisuke@cyberagent.co.jp>
  • Loading branch information
kei01234kei and kei01234kei committed Feb 14, 2024
1 parent 7c415b1 commit cfb426f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 7 deletions.
15 changes: 15 additions & 0 deletions .idea/git_toolbox_prj.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 35 additions & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ func init() {
config = &Config{
CloudStorageBucketName: "recordex",
EthereumNodeURL: "https://sepolia.infura.io/v3",
RecordContractAddress: "0xC3e4bb03b22C7DcB3715A2f973f25Ba72d9A2e37",
RecordContractAddress: "0x590b51f9D972625B263eAD11417832Fcf4fc724c",
}
case "dev":
config = &Config{
CloudStorageBucketName: "recordex",
EthereumNodeURL: "https://sepolia.infura.io/v3",
RecordContractAddress: "0xC3e4bb03b22C7DcB3715A2f973f25Ba72d9A2e37",
RecordContractAddress: "0x590b51f9D972625B263eAD11417832Fcf4fc724c",
}
default:
config = &Config{
CloudStorageBucketName: "recordex",
EthereumNodeURL: "https://sepolia.infura.io/v3",
RecordContractAddress: "0xC3e4bb03b22C7DcB3715A2f973f25Ba72d9A2e37",
RecordContractAddress: "0x590b51f9D972625B263eAD11417832Fcf4fc724c",
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/ethereum/ethereum.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"context"
"encoding/hex"
"fmt"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"log"
"os"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/recordex/smartcontract/pkg/record"
Expand Down

0 comments on commit cfb426f

Please sign in to comment.