Skip to content

ups package tracker#37

Open
Frippo40 wants to merge 5 commits intoiExecBlockchainComputing:masterfrom
Frippo40:master
Open

ups package tracker#37
Frippo40 wants to merge 5 commits intoiExecBlockchainComputing:masterfrom
Frippo40:master

Conversation

@Frippo40
Copy link

A new attempt - now deployed at https://explorer.iex.ec/kovan/app/0x8Ee07bCf22573a5D934e907E71E5127a55DAe6A0

Now the result is "standard_init_linux.go:211: exec user process caused "no such file or directory"

I'm using windows so there may be something going wrong there maybe?

I think node_modules should be ignored now but I'm also learning git in the process as well...

@sulliwane
Copy link
Contributor

Hi @Frippo40, can you remove the node-modules folder from your pull request? (by adding it to your .gitignore file)

@Frippo40
Copy link
Author

Hi @sulliwane can you take a look at the latest commit?dbad13c I had to run git rm -r --cached . to clear the earlier commit data to get the new .gitignore to work.

Copy link
Contributor

@Amxx Amxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only 5/96 files are relevant
Unless code / duplicate from other repo should be avoided. Also don't touche files outside you your folder (changes in permissions/etc...)

}
let deliveryStatus = results.TrackResponse.Shipment.Package.Activity[0].Status.Description;

var iexeccallback = ethers.utils.defaultAbiCoder.encode(['string'], [deliveryStatus]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many possible delivery status are there? Wouldn't it make more sens to create an enum describing them, and return an uint256? This would reduce the gas costs and improve usability of the oracle

@Frippo40
Copy link
Author

Frippo40 commented Nov 6, 2019

@Amxx thank you for the feedback. I couldn't figure out how to correct this series of commits so I had to create a new branch and pull request here with your requested changes: #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants