Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Add program_error conversions #9203

Merged
merged 1 commit into from
Apr 1, 2020

Conversation

jackcmay
Copy link
Contributor

Problem

Cross-program invocations need to convert from u64 to ProgramError and try from InstructionError to ProgramError

Summary of Changes

Add em

Fixes #

@codecov
Copy link

codecov bot commented Apr 1, 2020

Codecov Report

Merging #9203 into master will increase coverage by 0.0%.
The diff coverage is 0.0%.

@@          Coverage Diff           @@
##           master   #9203   +/-   ##
======================================
  Coverage    80.9%   81.0%           
======================================
  Files         276     276           
  Lines       60894   60926   +32     
======================================
+ Hits        49294   49365   +71     
+ Misses      11600   11561   -39     

@jackcmay jackcmay merged commit 74774dd into solana-labs:master Apr 1, 2020
@jackcmay jackcmay deleted the program-error-conversions branch April 1, 2020 02:56
CriesofCarrots pushed a commit to CriesofCarrots/solana that referenced this pull request Apr 30, 2020
CriesofCarrots added a commit that referenced this pull request May 1, 2020
* Add program_error conversions (#9203)

* Rename CustomError to Custom (#9207)

* More custom error rename (#9227)

automerge

* Remove librapay conflicts

* Fix rebase

Co-authored-by: Jack May <jack@solana.com>
mergify bot pushed a commit that referenced this pull request May 1, 2020
* Add program_error conversions (#9203)

* Rename CustomError to Custom (#9207)

* More custom error rename (#9227)

automerge

* Remove librapay conflicts

* Fix rebase

Co-authored-by: Jack May <jack@solana.com>
(cherry picked from commit 3aa52f9)

# Conflicts:
#	programs/librapay/Cargo.lock
#	programs/librapay/src/librapay_transaction.rs
#	programs/move_loader/src/processor.rs
#	runtime/src/bank/mod.rs
CriesofCarrots added a commit that referenced this pull request May 1, 2020
* Add program_error conversions (#9203)

* Rename CustomError to Custom (#9207)

* More custom error rename (#9227)

automerge

* Remove librapay conflicts

* Fix rebase

Co-authored-by: Jack May <jack@solana.com>
(cherry picked from commit 3aa52f9)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant