Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Change outdated OraclizeAddrResolverI to OracleAddrResolverI in log message #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ ethereum-bridge -H localhost:8545 --broadcast -a 0

#### Add a custom address resolver

Add `OAR = OraclizeAddrResolverI(EnterYourOarCustomAddress);` to your contract constructor, example:
Add `OAR = OracleAddrResolverI(EnterYourOarCustomAddress);` to your contract constructor, example:

Where `EnterYourOarCustomAddress` is the address resolver generated when you have run the script
```
Expand All @@ -76,7 +76,7 @@ contract test() {

function test() {
// this is the constructor
OAR = OraclizeAddrResolverI(0xf0f20d1a90c618163d762f9f09baa003a60adeff);
OAR = OracleAddrResolverI(0xf0f20d1a90c618163d762f9f09baa003a60adeff);
}

...
Expand Down
2 changes: 1 addition & 1 deletion bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ function runLog () {

var checksumOar = bridgeCore.ethUtil.toChecksumAddress(activeOracleInstance.oar)
if (checksumOar === '0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475' && !isTestRpc) logger.info('you are using a deterministic OAR, you don\'t need to update your contract')
else console.log('\nPlease add this line to your contract constructor:\n\n' + 'OAR = OraclizeAddrResolverI(' + checksumOar + ');\n')
else console.log('\nPlease add this line to your contract constructor:\n\n' + 'OAR = OracleAddrResolverI(' + checksumOar + ');\n')

logger.debug('starting the bridge log manager...')
BridgeLogManager = BridgeLogManager.init()
Expand Down