[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]

/biz/ - Business & Finance


View post   

File: 82 KB, 641x530, comment_Z0vlIkYdRnC46xuN5JLV0Cb1j94wcQzG.jpg [View same] [iqdb] [saucenao] [google]
11929959 No.11929959 [Reply] [Original]

I was doing a deep dive into Chainlink's code, and I came across this:

func TestIntegration_RunLog(t *testing.T) {
config, cfgCleanup := cltest.NewConfig()
defer cfgCleanup()
config.MinIncomingConfirmations = 6
app, cleanup := cltest.NewApplicationWithConfig(config)
defer cleanup()

eth := app.MockEthClient()
logs := make(chan store.Log, 1)
newHeads := eth.RegisterNewHeads()
eth.Context("app.Start()", func(eth *cltest.EthMock) {
eth.RegisterSubscription("logs", logs)
})


Do you guys see it too???

>> No.11929973

>>11929959
>log

>> No.11929978

>>11929959
holy shit are they working with ETH?

>> No.11929981

>>11929959
>>11929978
somebody explain this for nocoder brainlets

>> No.11929982

>>11929959
NONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONONO

>> No.11929983

"Mock eth" , yes Sergey, we've all been mocking eth the last couple weeks

>> No.11929986

>>11929959
What language is this?

>> No.11929988

>>11929959
DELET THIS

>> No.11929993

>>11929959
Old news fag. We’ve known this for a while now

>> No.11929997

>>11929959
just hold ether (only if you buy @ $50 or less)

>> No.11930007

>>11929959
hahahahah chainfags on suicide watch

>> No.11930012

>>11929986
golang

>> No.11930024
File: 65 KB, 620x379, GutBustingBen.jpg [View same] [iqdb] [saucenao] [google]
11930024

>>11929983

>> No.11930038

>>11929959
Duh all crypto is a fork of the last coin. Look at all the projects - the 'coin' doesn't actually do ANYTHING. It's worthless. Clever people brought cheap, and sold high to idiots. Those idiots are /biz.

>> No.11930057
File: 13 KB, 500x365, th.jpg [View same] [iqdb] [saucenao] [google]
11930057

>>11929973
>>11929978
>>11929981
>>11929982
>>11929983
>>11929986
>>11929988
>>11929993
>>11929997
>>11930007
>>11930012
>>11930024
>>11930038


Sorry posted the wrong code. I meant to post this:

REPO := smartcontract/chainlink
COMMIT_SHA ?= $(shell git rev-parse HEAD)
VERSION = $(shell cat VERSION)
GO_LDFLAGS := $(shell internal/bin/ldflags)
GOFLAGS = -ldflags "$(GO_LDFLAGS)"
DOCKERFILE := Dockerfile
DOCKER_TAG ?= latest

# SGX is disabled by default, but turned on when building from Docker
SGX_ENABLED ?= no
SGX_SIMULATION ?= yes
SGX_ENCLAVE := enclave.signed.so
SGX_TARGET := ./sgx/target/$(ENVIRONMENT)/

ifneq (,$(filter yes true,$(SGX_ENABLED)))
GOFLAGS += -tags=sgx_enclave
SGX_BUILD_ENCLAVE := $(SGX_ENCLAVE)
DOCKERFILE := Dockerfile-sgx
REPO := $(REPO)-sgx
else
SGX_BUILD_ENCLAVE :=
endif

>> No.11930122

>>11930057
Literally the first is just a test function, this second one is just some macros for configuring with the sgx enclave. There is nothing here you fucking brainlets.

>> No.11930123

>>11930057
It's a Makefile? I don't see what the problem is.

>> No.11930178
File: 37 KB, 708x480, 1543056297653.jpg [View same] [iqdb] [saucenao] [google]
11930178

>>11930122
>>11930123

So you deep dived and it was OK you reckon???

>> No.11930632

>>11930057
Again old news. Ari juels goes into depth of these different scenarios.

>> No.11931279

>>11929959
>>11929981
>>11929988
>>11930038
CHAINLINK BTFO HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
>>11930057