File tree Expand file tree Collapse file tree 6 files changed +13
-7
lines changed
Expand file tree Collapse file tree 6 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 go-version : 1.20.0
1919 - name : Generate Test files
20- uses : actions/cache@v2
20+ uses : actions/cache@v3
2121 id : cache-packages # give it a name for checking the cache hit-or-not
2222 with :
2323 path : ./inputs/ # what we cache: the folder
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/Gearbox-protocol/third-eye
33go 1.20
44
55require (
6- github.com/Gearbox-protocol/sdk-go v0.0.0-20250306124547-af05961a4234
6+ github.com/Gearbox-protocol/sdk-go v0.0.0-20250309120715-87a114a7ad27
77 github.com/ethereum/go-ethereum v1.13.14
88 github.com/go-playground/validator/v10 v10.4.1
99 github.com/google/go-cmp v0.5.9
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ contrib.go.opencensus.io/exporter/ocagent v0.6.0/go.mod h1:zmKjrJcdo0aYcVS7bmEeS
55github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ =
66github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
77github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ =
8- github.com/Gearbox-protocol/sdk-go v0.0.0-20250306124547-af05961a4234 h1:uOfIv6EBW8654Ol7+gLw/RfAALIhRFHm2OPnxxxhgTs =
9- github.com/Gearbox-protocol/sdk-go v0.0.0-20250306124547-af05961a4234 /go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU =
8+ github.com/Gearbox-protocol/sdk-go v0.0.0-20250309120715-87a114a7ad27 h1:KhRX015i5aCEzklx8AlY/CneXgeSae8K4FDU5JBb+RA =
9+ github.com/Gearbox-protocol/sdk-go v0.0.0-20250309120715-87a114a7ad27 /go.mod h1:jRBSOG94bpGc5ci8EWIPUVXZdaGEaekMNmhajbmWFVU =
1010github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow =
1111github.com/Microsoft/go-winio v0.6.1 /go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM =
1212github.com/OffchainLabs/go-ethereum v1.13.4-0.20240313010929-e5d8587e7227 h1:+/3TrD+q+BP36jGj2Bycdmrc/joKLNbc5ImePQzKRLM =
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ func (r *Repo) AddPoolLedger(event *schemas.PoolLedger) {
2929 r .events = append (r .events , event )
3030}
3131func (r * Repo ) GetToken (token string ) * schemas.Token {
32- return r .tStore .GetToken (token )
32+ x , err := r .tStore .GetToken (token )
33+ log .CheckFatal (err )
34+ return x
3335}
3436func (r * Repo ) getPoolLedger () []* schemas.PoolLedger {
3537 ans := r .events
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ func (r *Repo) AddPoolLedger(event *schemas.PoolLedger) {
2828 r .events = append (r .events , event )
2929}
3030func (r * Repo ) GetToken (token string ) * schemas.Token {
31- return r .tStore .GetToken (token )
31+ x , err := r .tStore .GetToken (token )
32+ log .CheckFatal (err )
33+ return x
3234}
3335func (r * Repo ) getPoolLedger () []* schemas.PoolLedger {
3436 ans := r .events
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ func (r *Repo) AddPoolLedger(event *schemas.PoolLedger) {
3333 r .events = append (r .events , event )
3434}
3535func (r * Repo ) GetToken (token string ) * schemas.Token {
36- return r .tStore .GetToken (token )
36+ x , err := r .tStore .GetToken (token )
37+ log .CheckFatal (err )
38+ return x
3739}
3840func (r * Repo ) getPoolLedger () []* schemas.PoolLedger {
3941 ans := r .events
You can’t perform that action at this time.
0 commit comments