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

Oracle #7

Merged
merged 13 commits into from
Aug 2, 2021
Merged

Oracle #7

merged 13 commits into from
Aug 2, 2021

Conversation

scruffy-dev
Copy link
Contributor

Just adding some checks and clean up slowly no need to merge anytime soon, code will stay isolated to this pallet

@scruffy-dev scruffy-dev marked this pull request as ready for review August 2, 2021 10:44
@flipchan
Copy link
Contributor

flipchan commented Aug 2, 2021

Checking this

@flipchan
Copy link
Contributor

flipchan commented Aug 2, 2021

code looks good, conserns on the request_price function:

     #[pallet::weight(10_000)]
     pub fn request_price(origin: OriginFor<T>, asset_id: u64) -> DispatchResultWithPostInfo {                         
         //TODO talk about the security and if this should be protected                                                
         let who = ensure_signed(origin)?;
         Self::do_request_price(&who, asset_id)?;
         Ok(().into())
     }

@flipchan
Copy link
Contributor

flipchan commented Aug 2, 2021

nice integration with offchain workers

@bluewitch bluewitch merged commit 3767175 into main Aug 2, 2021
@scruffy-dev
Copy link
Contributor Author

code looks good, conserns on the request_price function:

     #[pallet::weight(10_000)]
     pub fn request_price(origin: OriginFor<T>, asset_id: u64) -> DispatchResultWithPostInfo {                         
         //TODO talk about the security and if this should be protected                                                
         let who = ensure_signed(origin)?;
         Self::do_request_price(&who, asset_id)?;
         Ok(().into())
     }

Agreed needs to be a larger conversation on how we set parameters, there exists a world where the params allow this to be safe, and a world where it does not, anyways, we can always wrap in ensure_root but that would be a worst case scenerio

seunlanlege pushed a commit that referenced this pull request Sep 20, 2021
improve lending interface & implements unique id for lending instances
haroldsphinx added a commit that referenced this pull request Jan 27, 2022
# This is the 1st commit message:

rebase

# This is the commit message #2:

rebase

# This is the commit message #3:

add origin

# This is the commit message #4:

Delete build-artifacts.yml
# This is the commit message #5:

rebase

# This is the commit message #6:

fixes #535 (#553)

* fixes #535

* don't skip integration tests

* remove ref: main

* get github ref from action

* try base_ref

* try GITHUB_SHA

* GITHUB_REF_NAME

* back to GITHUB_SHA

* checkout pull request commit

* renamee to release-pipeline

* back to

Co-authored-by: Seun Lanlege <seunlanlege@gmail.com>
# This is the commit message #7:

fetch depth
haroldsphinx added a commit that referenced this pull request Jan 27, 2022
# This is the 1st commit message:

fetch depth

# The commit message #2 will be skipped:

# Update checkout action

# The commit message #3 will be skipped:

# Update checkout action

# The commit message #4 will be skipped:

# Update checkout action

# The commit message #5 will be skipped:

# Update checkout action

# The commit message #6 will be skipped:

# Update checkout action

# The commit message #7 will be skipped:

# Update checkout action
haroldsphinx added a commit that referenced this pull request Jan 27, 2022
# This is the 1st commit message:

fetch depth

# The commit message #2 will be skipped:

# Update checkout action

# The commit message #3 will be skipped:

# Update checkout action

# The commit message #4 will be skipped:

# Update checkout action

# The commit message #5 will be skipped:

# Update checkout action

# The commit message #6 will be skipped:

# Update checkout action

# The commit message #7 will be skipped:

# Update checkout action

# The commit message #8 will be skipped:

# Update checkout action

# The commit message #9 will be skipped:

# Update checkout action

# The commit message #10 will be skipped:

# Update checkout action
haroldsphinx added a commit that referenced this pull request Jan 27, 2022
# This is the 1st commit message:

fetch depth

# The commit message #2 will be skipped:

# Update checkout action

# The commit message #3 will be skipped:

# Update checkout action

# The commit message #4 will be skipped:

# Update checkout action

# The commit message #5 will be skipped:

# Update checkout action

# The commit message #6 will be skipped:

# Update checkout action

# The commit message #7 will be skipped:

# Update checkout action

# The commit message #8 will be skipped:

# Update checkout action

# The commit message #9 will be skipped:

# Update checkout action

# The commit message #10 will be skipped:

# Update checkout action

# The commit message #11 will be skipped:

# Update checkout action

# The commit message #12 will be skipped:

# Update checkout action

# The commit message #13 will be skipped:

# Update checkout action

# The commit message #14 will be skipped:

# Update checkout action

# The commit message #15 will be skipped:

# Update checkout action

# The commit message #16 will be skipped:

# Update checkout action

# The commit message #17 will be skipped:

# Update checkout action
gitbook-com bot pushed a commit that referenced this pull request Feb 20, 2022
seunlanlege pushed a commit that referenced this pull request Oct 6, 2022
dzmitry-lahoda added a commit that referenced this pull request Dec 14, 2022
# This is the 1st commit message:

lfs

# This is the commit message #2:

staging migration

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

# This is the commit message #3:

picasso

# This is the commit message #4:

yamlgit add .git add .

# This is the commit message #5:

fmt; reuse; clean

Signed-off-by: Dzmitry Lahoda <dzmitry@lahoda.pro>

# This is the commit message #6:

trying replace nixops devnet

# This is the commit message #7:

fixed container

# This is the commit message #8:

zombies in compose

# This is the commit message #9:

getting routes

# This is the commit message #10:

ops mapping

# This is the commit message #11:

returned garbage for happy refactoring

# This is the commit message #12:

more

# This is the commit message #13:

revert
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