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

Add tick height syscall #4497

Merged
merged 3 commits into from
May 31, 2019

Conversation

CriesofCarrots
Copy link
Contributor

Problem

tick_height was added to the program entrypoint expressly for the tic-tac-toe example, but it's no longer really used. Also, we have syscalls now.

Summary of Changes

Removes tick_height from program entrypoint signature
Adds tick_height syscall and taps for storage program

Fixes #4482

@CriesofCarrots CriesofCarrots requested a review from mvines May 31, 2019 16:33
@mvines mvines requested a review from rob-solana May 31, 2019 16:44
Copy link
Contributor

@mvines mvines left a comment

Choose a reason for hiding this comment

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

cc: @sagar-solana for the (minor) storage program changes

sdk/src/syscall/tick_height.rs Outdated Show resolved Hide resolved
runtime/src/bank.rs Show resolved Hide resolved
@CriesofCarrots CriesofCarrots force-pushed the tick-height-syscall branch 2 times, most recently from 8bd41e8 to 7cd0271 Compare May 31, 2019 17:03
@codecov
Copy link

codecov bot commented May 31, 2019

Codecov Report

Merging #4497 into master will increase coverage by 11.6%.
The diff coverage is 97.9%.

@@            Coverage Diff            @@
##           master   #4497      +/-   ##
=========================================
+ Coverage    67.8%   79.5%   +11.6%     
=========================================
  Files         179     180       +1     
  Lines       37556   32101    -5455     
=========================================
+ Hits        25472   25522      +50     
+ Misses      12084    6579    -5505

@CriesofCarrots CriesofCarrots merged commit 64e8a21 into solana-labs:master May 31, 2019
@CriesofCarrots CriesofCarrots deleted the tick-height-syscall branch June 27, 2019 23:35
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.

Remove tick_height from program entrypoint signature
3 participants